DescriptionFlex box word-wrap is not adhering to spec
The items that are set to flex-wrap and have a single flex line currently
has their cross size adjusted according to the max of the items cross size.
According to the specification section 9.4 number 8 point, it states that:
If the flex container has only one flex line (_even if it’s a multi-line
flex container_) and has a definite cross size the cross size of the flex line
is the flex container’s inner cross size.
link: http://www.w3.org/TR/2014/WD-css-flexbox-1-20140325/#cross-sizing
This patch fixes this bug by removing the condtion that checks if it's
a multiline container or not and based on that set flex line cross size.
Bug=362848
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176000
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addresses changes asked in patch set 1 #
Total comments: 1
Messages
Total messages: 17 (0 generated)
|