mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
layout: Support min/max main keyword sizes in flexbox (#35961)
Adds support for min-content, max-content, fit-content and stretch on the min and max main size properties of a flex item. I'm removing `automatic_min_size()` and `flex_base_size()` because they would need to share so much code among themselves and their one caller that it's simpler to just inline the code. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
2362e4c134
commit
ba6c3916fc
12 changed files with 160 additions and 444 deletions
|
@ -1,4 +0,0 @@
|
|||
[canvas-dynamic-change-001.html]
|
||||
[.flexbox 1]
|
||||
expected: FAIL
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
[flex-aspect-ratio-img-column-011.html]
|
||||
[.flexbox 7]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[flex-item-max-height-min-content.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[flex-item-max-width-min-content.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[flex-minimum-height-flex-items-023.html]
|
||||
expected: FAIL
|
|
@ -1,72 +0,0 @@
|
|||
[keyword-sizes-on-flex-item-001.html]
|
||||
[.test 10]
|
||||
expected: FAIL
|
||||
|
||||
[.test 11]
|
||||
expected: FAIL
|
||||
|
||||
[.test 12]
|
||||
expected: FAIL
|
||||
|
||||
[.test 13]
|
||||
expected: FAIL
|
||||
|
||||
[.test 14]
|
||||
expected: FAIL
|
||||
|
||||
[.test 15]
|
||||
expected: FAIL
|
||||
|
||||
[.test 16]
|
||||
expected: FAIL
|
||||
|
||||
[.test 17]
|
||||
expected: FAIL
|
||||
|
||||
[.test 18]
|
||||
expected: FAIL
|
||||
|
||||
[.test 19]
|
||||
expected: FAIL
|
||||
|
||||
[.test 20]
|
||||
expected: FAIL
|
||||
|
||||
[.test 21]
|
||||
expected: FAIL
|
||||
|
||||
[.test 22]
|
||||
expected: FAIL
|
||||
|
||||
[.test 23]
|
||||
expected: FAIL
|
||||
|
||||
[.test 24]
|
||||
expected: FAIL
|
||||
|
||||
[.test 25]
|
||||
expected: FAIL
|
||||
|
||||
[.test 26]
|
||||
expected: FAIL
|
||||
|
||||
[.test 27]
|
||||
expected: FAIL
|
||||
|
||||
[.test 40]
|
||||
expected: FAIL
|
||||
|
||||
[.test 41]
|
||||
expected: FAIL
|
||||
|
||||
[.test 42]
|
||||
expected: FAIL
|
||||
|
||||
[.test 43]
|
||||
expected: FAIL
|
||||
|
||||
[.test 44]
|
||||
expected: FAIL
|
||||
|
||||
[.test 45]
|
||||
expected: FAIL
|
|
@ -1,54 +0,0 @@
|
|||
[keyword-sizes-on-flex-item-002.html]
|
||||
[.test 31]
|
||||
expected: FAIL
|
||||
|
||||
[.test 32]
|
||||
expected: FAIL
|
||||
|
||||
[.test 33]
|
||||
expected: FAIL
|
||||
|
||||
[.test 34]
|
||||
expected: FAIL
|
||||
|
||||
[.test 35]
|
||||
expected: FAIL
|
||||
|
||||
[.test 36]
|
||||
expected: FAIL
|
||||
|
||||
[.test 49]
|
||||
expected: FAIL
|
||||
|
||||
[.test 50]
|
||||
expected: FAIL
|
||||
|
||||
[.test 51]
|
||||
expected: FAIL
|
||||
|
||||
[.test 52]
|
||||
expected: FAIL
|
||||
|
||||
[.test 53]
|
||||
expected: FAIL
|
||||
|
||||
[.test 54]
|
||||
expected: FAIL
|
||||
|
||||
[.test 69]
|
||||
expected: FAIL
|
||||
|
||||
[.test 70]
|
||||
expected: FAIL
|
||||
|
||||
[.test 71]
|
||||
expected: FAIL
|
||||
|
||||
[.test 72]
|
||||
expected: FAIL
|
||||
|
||||
[.test 73]
|
||||
expected: FAIL
|
||||
|
||||
[.test 74]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[indefinite-4.html]
|
||||
[[data-expected-client-height\] 1]
|
||||
expected: FAIL
|
|
@ -2,17 +2,11 @@
|
|||
[[data-expected-height\] 8]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 20]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 22]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 31]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 43]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 45]
|
||||
expected: FAIL
|
||||
|
|
|
@ -2,17 +2,11 @@
|
|||
[[data-expected-width\] 8]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 19]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 22]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 31]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 42]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 45]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue