[Webkit-unassigned] [Bug 27160] Implement vw/vh/vm (viewport sizes) from CSS 3 Values and Units

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 26 20:26:07 PST 2012


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





--- Comment #14 from Luke Macpherson <macpherson at chromium.org>  2012-01-26 20:26:06 PST ---
What happens when the window is resized? It seems like we need to re-calculate all lengths that have already been computed, which in effect means re-applying all CSS properties continuously during a window resize (ie. for every new width which the window size is changing). That seems like it would be really computationally expensive.

Code style wise, it would be nice to not have to add another parameter to computeLengthDouble and friends. Perhaps this is an opportunity to clean up that code by providing some more useful parameter that can provide the values necessary for the computation.

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