Commit Graph

6 Commits

Author SHA1 Message Date
Brad Werth
d7e7b52523 Bug 1235922 Part 5: Extend flexbox "align-content" reftests to test new "space-evenly" value. r=mats
MozReview-Commit-ID: BtQUxkAr0nH
2016-10-15 12:25:23 -07:00
Daniel Holbert
19aa0ed340 Bug 1090031: Apply CSS 'align-content' in flex containers if they *could* wrap (rather than if they *have* wrapped). r=mats
The spec says that single-line flex containers should stretch their one flex
line to the flex container's cross size, and should ignore 'align-content'.

Initially, the spec defined 'single-line' to include any flex container that
happens to have only 1 line (even if it's got 'flex-wrap:wrap' or
'wrap-reverse'). But later, the term 'single-line' was intentionally redefined
to *only* include flex containers that have 'flex-wrap: nowrap'.  So, instead
of checking the line-count, we should instead check 'flex-wrap', when deciding
whether to stretch our one line & ignore 'align-content'.


MozReview-Commit-ID: D2ZMIBS16ui
2016-10-12 09:04:03 -07:00
Wes Kocher
875b8d2e93 Backed out changeset 37e0c017b268 (bug 1090031) for reftest failures a=backout 2016-10-12 14:46:23 -07:00
Daniel Holbert
7be0e7ad64 Bug 1090031: Apply CSS 'align-content' in flex containers if they *could* wrap (rather than if they *have* wrapped). r=mats
The spec says that single-line flex containers should stretch their one flex
line to the flex container's cross size, and should ignore 'align-content'.

Initially, the spec defined 'single-line' to include any flex container that
happens to have only 1 line (even if it's got 'flex-wrap:wrap' or
'wrap-reverse'). But later, the term 'single-line' was intentionally redefined
to *only* include flex containers that have 'flex-wrap: nowrap'.  So, instead
of checking the line-count, we should instead check 'flex-wrap', when deciding
whether to stretch our one line & ignore 'align-content'.


MozReview-Commit-ID: D2ZMIBS16ui
2016-10-12 09:04:03 -07:00
Brad Werth
175da55f4d Bug 1221565 Part 4: flexbox-align-content-vert-* reftests updated. r=dholbert
MozReview-Commit-ID: 7UnyW10aIZX
2016-10-07 14:40:35 -07:00
Daniel Holbert
b64b60d8d6 Bug 1061978 part 1: Rename flexbox reftest files in w3c-css directory to use 3-digit numbers, and update reftest.list. (no review, test-tweak only) 2014-09-02 20:39:01 -07:00