V
VK
As per recent discussion at mozilla.dev.tech.javascript
"Scrollbars not being taken into account with JavaScript"
http://groups.google.com/group/mozilla.dev.tech.javascript/browse_frm/thread/a299e61021b97eb9
I do agree with the OP that while saying "canvas" it is not assumed
"available space plus scrollbars" but "available space for placing
elements so minus any scrollbars"
This way I consider the code at
"4.9 How do I find the size of the window/browser canvas area?"
http://www.jibbering.com/faq/index.html#FAQ4_9
if not defective then at least misleading in many circumstances (with
innerWidth block executed) where the results are not what promised by
the FAQ title.
Before proposing code fixes I wondering if there is common agreement
on the issue to exist.
"Scrollbars not being taken into account with JavaScript"
http://groups.google.com/group/mozilla.dev.tech.javascript/browse_frm/thread/a299e61021b97eb9
I do agree with the OP that while saying "canvas" it is not assumed
"available space plus scrollbars" but "available space for placing
elements so minus any scrollbars"
This way I consider the code at
"4.9 How do I find the size of the window/browser canvas area?"
http://www.jibbering.com/faq/index.html#FAQ4_9
if not defective then at least misleading in many circumstances (with
innerWidth block executed) where the results are not what promised by
the FAQ title.
Before proposing code fixes I wondering if there is common agreement
on the issue to exist.