DescriptionChrome incorrectly honors "align-content" in "flex-wrap: wrap" flex containers that only have a single line
Chrome incorrectly honors "align-content" property in "flex-wrap: wrap"
flex containers that only have a single line. According to the specification
the "align-content" property should have no effect when the flex container has
only a single line.
Links to specific spec text:
http://dev.w3.org/csswg/css-flexbox/#propdef-align-content
This patch fixes this bug by adding check of numberOfLines to be greater than 1 in initialAlignContentOffset()
BUG=324178
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174615
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addresses the changes asked in patch set 1 #
Total comments: 2
Patch Set 3 : Merge all LayoutTests into one #Patch Set 4 : nit: correction in indentation of layout test #Patch Set 5 : Modified LayoutTests #
Messages
Total messages: 12 (0 generated)
|