<sriram>
Hi..I have a question about form.. I notice that when I give it an id [(form '((id . "$formID") ....)], the id is applied to the fieldset within it, rather than to the form itself...so how could I give an id to the form
<Regenaxer>
Hi sriram! The form *is* the fieldset, also CSS styles apply to it.
<sriram>
Hi Regenaxer....when I inspect with chrome, fieldset shows up as a subelement of form..thats why I was wondering
<sriram>
but actually I realized that its not an issue...can get the parentNode if needed....so no problem,...(close to be able to setting canvas size dynamically)
<sriram>
(thanks)
<Regenaxer>
In lib/xhtml.l there is no form as such. It is the <post> function which builds the <form> element
<sriram>
yes I saw that form just passes to <post> which passes the attr to fieldset
<Regenaxer>
yeah
<Regenaxer>
Not sure why it came that way
<Regenaxer>
fieldset is the visible part
<sriram>
no issues...if i do happen to need i can always get parentNode I suppose...experimenting still..
<Regenaxer>
yeah, or put a CSS for the form class
<sriram>
yes..tried setting height of form that way..
<sriram>
sure..css is another way
<sriram>
(have to remember to clean cache each time css is changed :) )
<Regenaxer>
T
<sriram>
(just for reference fieldsetElement.form gives the corresponding form...)
<Regenaxer>
ok
orivej has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
orivej has joined #picolisp
stix has joined #picolisp
<sriram>
hi.. i have a small test program to experiment with dynamic canvas size (set as %)...when I maximize and unmaximize a few times the image stops displaying
<sriram>
seems the mk.svg code stops getting called from drawCanvas..
<Regenaxer>
Hmm, no idea ;)
<Regenaxer>
Perhaps trace fome functions?
<sriram>
( I am suspecting the counter increment
<sriram>
yes..engaged in tracing :)
<Regenaxer>
Resetting it when the page gets freshly loaded?
<sriram>
no...i dont
<Regenaxer>
ok
<sriram>
if i do a paste bin would you be able to quickly scan the mk.svg part...there are counter related
<sriram>
intricacies that i am not sure i am doing correctly
<Regenaxer>
ok, though I'm also not in the code mentally any more ;)
<sriram>
ah ok...i paste https://pastebin.com/vCRrkhnX since i generated it :)..maybe tomorrow or so when you have a chance :)
<sriram>
i have been successful with playing with static variables, and also dynamic canvas size..just this strange thing after few max/min
<Regenaxer>
oh, quite long
<sriram>
yes...sorry..was experimenting with OOP...pl. only look for mk.svg
<sriram>
drawImage
<Regenaxer>
yes, I see it
<sriram>
drawCanvas...seems not to call mk.svg after the second max/min
<Regenaxer>
Looks similar to pdfPage.l
<sriram>
yes..except the counter
<Regenaxer>
Why do you suspect *Cnt ?
<Regenaxer>
libPdf increments in drawPage
<sriram>
yes and i increment in drawCanvas...i think too late then
<Regenaxer>
would be (csDrawImage (sesId (pack "!mk.svg?" (ht:Fmt This (inc '*Cnt))))
<sriram>
i must increment before in drawImage, before calling csDrawImage
<sriram>
just like pdfPage
<Regenaxer>
Does the trace show a wrong count?
<sriram>
the trace shows that after a few max/min....mk.svg is not called at all
<sriram>
to be honest i am not sure how the count is actually used
<Regenaxer>
it is only to force a refresh
<Regenaxer>
should not matter for a stop
<Regenaxer>
It is rather the draw animation probably