Chromium Code Reviews
Description[css-flexbox] Correctly implement freezing of inflexible items
We did not have a correct implementation of steps 2 and 3 of the
"9.7 Resolving flexible lengths" section of the spec:
https://drafts.csswg.org/css-flexbox/#resolve-flexible-lengths
In particular inflexible items (flex factor 0 or flex basis
violating the min/max size constraint) reduce the initial free
space.
This is an issue when sizing flex items with a flex factor of 0..1.
BUG=617956
TEST=css3/flexbox/max-width-violation.html
Committed: https://crrev.com/143408653a5c0328254ea06d0f3a825d6505a114
Cr-Commit-Position: refs/heads/master@{#402279}
Patch Set 1 #Patch Set 2 : add test #Patch Set 3 : rebased #Patch Set 4 : fix bad merge #Patch Set 5 : .. #Patch Set 6 : ... #
Messages
Total messages: 29 (15 generated)
|
|||||||||||||||||||||||||||||||||||||