[Webkit-unassigned] [Bug 24998] document.documentElement.scrollHeight is reporting absolute height of window rather than height of content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 25 23:04:44 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=24998


michael at dayah.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael at dayah.com




------- Comment #2 from michael at dayah.com  2009-06-25 23:04 PDT -------
I can confirm scrollWidth sometimes contains the offsetWidth instead of the
full width of dE.scrollWidth which disrupts my fit-to-window switching of style
sheets. I couldn't duplicate this by simply placing a long line of text and
alerting scrollWidth, but I can on ptable.com. After visiting, make sure the
site scrolls out of the window boundaries by selecting the Wide checkbox and
use the address bar to alert d.dE.scrollWidth. It will never be more than the
window width regardless of how much larger dE is. Builds with a correct
scrollWidth will automatically switch style sheets as the window resizes, and
newer builds will not.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list