[Webkit-unassigned] [Bug 91554] viewport units (vw, vh) don't work in CSS transforms

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 17 23:12:19 PST 2013


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





--- Comment #7 from Mike Lawther <mikelawther at chromium.org>  2013-02-17 23:14:39 PST ---
Hi Dino - just for some historical context: those floatValueForLength() functions were added as a result of https://bugs.webkit.org/show_bug.cgi?id=27160#c59 where there was the question of unnecessarily calculating the viewport size. 

It seems the way forward here is to pass the viewport extents as an IntSize down into the platform code to avoid any layering violations. It should be non-optional to avoid bugs like this one. It does mean calling the viewportSize() function a lot. If it's demonstrably a performance problem, then caching it or something might be the go.

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