[Bug 22766] document.width, document.height, etc available for cross-platform

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22766

--- Comment #1 from Jim Michaels <jmichae3@yahoo.com> ---
I figure that the scroll properties should be read-only, along with the
viewport information, unless perhaps someone wants to change the viewport's
"top". but that doesn't seem likely. I can't remember any instance when I
needed to change the viewport.

reasons: the viewport information and document size info is helpful when trying
to calculate positions and sizes dynamically for divs when doing
absolute/relative or shackled positioning with layers - this is hard to do
currently without enough info, I usually end up doing it with js a little, but
not enough to go on.

if anyone can think of reasons why any of the properties should not be
readonly, please speak up.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 23 July 2013 08:59:01 UTC