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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 14 09:45:36 PST 2012


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


Brian Harper <brianh.smartsheet at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brianh.smartsheet at gmail.com




--- Comment #18 from Brian Harper <brianh.smartsheet at gmail.com>  2012-02-14 09:45:36 PST ---
This "fix" will negatively impact our user base, at least those using Safari and Chrome. As Yonathan mentioned, it can be useful to detect zoom, and this change will leave Webkit browsers as the only ones without a method for doing so. It's true that the methods differ between browsers, and it would be preferable to have a standard API for getting this information, but unfortunately there seems to be a philosophical debate among open source browser developers over whether web developers can be trusted to use this information responsibly. Since it's not a security hole of any kind, I'd like to think we should be given the benefit of the doubt and treated as adults.

Judging from the comments, this bug seemed to be based on the incorrect assumption that document.width returned the same value as document.body.clientWidth, and was therefore completely extraneous. Now that you've learned otherwise, I hope you will reconsider, and restore this property, at least until you've more carefully considered the issue of exposing device pixels and/or zoom detection.

-- 
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