Description[CSS Grid Layout] Use CSS_FR for flexible lengths instead of CSS_DIMENSION
Although 'fr' units are dimensions we're using a custom
CSSPrimitiveValue:UnitType which matches how px, em, ... are parsed. That's
why we should use CSS_FR instead of CSS_DIMENSION for the computed style.
This also fixes a bug in the style builder which was converting the fractional
primitive value to a float instead of a double causing rounding issues in
some tests.
BUG=235258
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157820
Patch Set 1 #
Total comments: 1
Patch Set 2 : Fixed the FIXME :) #
Messages
Total messages: 4 (0 generated)
|