[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:15:51 PDT 2012


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





--- Comment #14 from Kenneth Rohde Christiansen <kenneth at webkit.org>  2012-03-15 08:15:50 PST ---
(In reply to comment #13)
> > I am wondering whether this change we made makes sense as it seems be differ from most widespread mobile implementations.
> >
> > "Dimensions of the visual viewport in CSS pixels."
> 
> Is this not what we are currently returning -- CSS pixels without the page scale applied? Or are you referring to the scrollbar bug 81208?

I think you are correct. It is just very confusing that visibleContentRect doesn't return the rect in CSS units but in layout units.

We should either add a comment or create a mapping method

int FrameView::mapFromLayoutToCSSUnits(LayoutUnit value)

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