mirror of
https://github.com/servo/servo.git
synced 2025-08-12 17:05:33 +01:00
layout: Support min/max cross keywords sizes in flexbox (#35860)
Adds support for min-content, max-content, fit-content and stretch on the min and max cross size properties of a flex item. With one exception: when resolving the main sizes, transferred cross minimums and maximums will still ignore keywords. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
56da4ad959
commit
c6527c4118
7 changed files with 79 additions and 214 deletions
|
@ -2,24 +2,12 @@
|
|||
[[data-expected-height\] 8]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 19]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 21]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 22]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\]:not([skip-second-pass\]) 31]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\]:not([skip-second-pass\]) 42]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\]:not([skip-second-pass\]) 44]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\]:not([skip-second-pass\]) 45]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -2,24 +2,12 @@
|
|||
[[data-expected-width\] 8]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 20]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 21]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 22]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\]:not([skip-second-pass\]) 31]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\]:not([skip-second-pass\]) 43]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\]:not([skip-second-pass\]) 44]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\]:not([skip-second-pass\]) 45]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -2,29 +2,17 @@
|
|||
[[data-expected-height\] 8]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 19]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 20]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 21]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 22]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 31]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 42]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 43]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 44]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 45]
|
||||
expected: FAIL
|
||||
|
|
|
@ -5,12 +5,6 @@
|
|||
[[data-expected-width\] 19]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 20]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 21]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 22]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -20,11 +14,5 @@
|
|||
[[data-expected-width\] 42]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 43]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 44]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 45]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue