[Webkit-unassigned] [Bug 72591] Remove document.width / document.height

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 12 16:04:53 PST 2011


Yonathan Randolph <yonathan at gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |yonathan at gmail.com

--- Comment #15 from Yonathan Randolph <yonathan at gmail.com>  2011-12-12 16:04:52 PST ---
document.width (screen pixels) was actually not equivalent to document.body.clientWidth (CSS pixels). This was actually the quirk I used to calculate zoom level in WebKit [1]. I'm curious to know whether there is any other hack to get the zoom level in WebKit.

[1]: http://stackoverflow.com/questions/1713771/how-to-detect-page-zoom-level-in-all-modern-browsers

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

More information about the webkit-unassigned mailing list