int minimumIntValueForLength(const Length&, LayoutUnit maximumValue, RenderView* = 0, bool roundPercentages = false); int intValueForLength(const Length&, LayoutUnit maximumValue, RenderView* = 0, bool roundPercentages = false); LayoutUnit minimumValueForLength(const Length&, LayoutUnit maximumValue, RenderView* = 0, bool roundPercentages = false); LayoutUnit valueForLength(const Length&, LayoutUnit maximumValue, RenderView* = 0, bool roundPercentages = false); float floatValueForLength(const Length&, LayoutUnit maximumValue, RenderView* = 0); float floatValueForLength(const Length&, float maximumValue, RenderView* = 0);
Created attachment 225581 [details] Patch
Created attachment 225585 [details] Patch
Comment on attachment 225585 [details] Patch EWS testing
Created attachment 225588 [details] Patch
Comment on attachment 225588 [details] Patch EWS
viewportSize() call can still be a bit expensive on some platforms. WebKit is not ready for this change yet.