[Webkit-unassigned] [Bug 76555] window.innerWidth/Height should not include page scale

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 15 08:37:07 PDT 2012


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





--- Comment #16 from Allan Sandfeld Jensen <allan.jensen at nokia.com>  2012-03-15 08:37:07 PST ---
If I understand this right, the page scale unlike page zoom, does change the size of the viewport. Like page zoom it changes the size of CSS pixels, but also changes the size of the viewport (allowing overflow and underflow). 

The question is if the visual viewport in this case, is the unscaled viewport in which case this patch is wrong and the original behaviour right? OR if the we should indeed give the webpage the scaled viewport?

Since page scale is supposed to be transparent to the web application, I think it would make more sense if they got the size of the original unscaled viewport. This value happens to also be thenew  visual viewport in device pixels, but that is not the point: It is the logical viewport in CSS pixels.

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