Description[CSS Grid Layout] Flex factor sum must be 1 at least.
When trying to find the size of a flexible grid item the algorithm must
perform several steps, which are described in the following section of
the spec:
https://drafts.csswg.org/css-grid/#algo-find-fr-size
When the flex factor sum is less than 1, we should use 1 instead so we
can apply each factor to the total available size to fill.
BUG=520477
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201486
Patch Set 1 #Patch Set 2 : Added layout test. #Patch Set 3 : Just return if accumulatedFractions is 1. #
Messages
Total messages: 6 (2 generated)
|