mirror of
https://github.com/servo/servo.git
synced 2025-08-18 03:45:33 +01:00
Partial implementation of keyword sizes for block layout (#34568)
Adds support for min-content, max-content, fit-content and stretch, for block-level elements that don't establish an independent formatting context, and for block-level elements when there is no float. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
6be403d8b4
commit
eb82161a8a
115 changed files with 244 additions and 632 deletions
|
@ -1,3 +0,0 @@
|
|||
[auto-margins-1.html]
|
||||
[[data-expected-width\] 2]
|
||||
expected: FAIL
|
|
@ -1,27 +0,0 @@
|
|||
[block-height-001.html]
|
||||
[[data-expected-height\] 1]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 2]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 3]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 7]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 8]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 9]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 13]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 14]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 15]
|
||||
expected: FAIL
|
|
@ -1,6 +1,3 @@
|
|||
[block-height-002.tentative.html]
|
||||
[main > div > div 1]
|
||||
expected: FAIL
|
||||
|
||||
[main > div > div 2]
|
||||
expected: FAIL
|
||||
|
|
|
@ -2,17 +2,8 @@
|
|||
[.inner 1]
|
||||
expected: FAIL
|
||||
|
||||
[.inner 2]
|
||||
expected: FAIL
|
||||
|
||||
[.inner 3]
|
||||
expected: FAIL
|
||||
|
||||
[.inner 4]
|
||||
expected: FAIL
|
||||
|
||||
[.inner 5]
|
||||
expected: FAIL
|
||||
|
||||
[.inner 6]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
[content-contribution-001.html]
|
||||
[.test 1]
|
||||
expected: FAIL
|
||||
|
||||
[.test 2]
|
||||
expected: FAIL
|
||||
|
||||
[.test 5]
|
||||
expected: FAIL
|
||||
|
|
3
tests/wpt/meta/css/css-sizing/stretch/indefinite-2.html.ini
vendored
Normal file
3
tests/wpt/meta/css/css-sizing/stretch/indefinite-2.html.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[indefinite-2.html]
|
||||
[[data-expected-client-height\] 1]
|
||||
expected: FAIL
|
3
tests/wpt/meta/css/css-sizing/stretch/indefinite-3.html.ini
vendored
Normal file
3
tests/wpt/meta/css/css-sizing/stretch/indefinite-3.html.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[indefinite-3.html]
|
||||
[[data-expected-client-height\] 1]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[min-width-1.html]
|
||||
expected: FAIL
|
|
@ -1,7 +1,4 @@
|
|||
[stretch-block-size-001.html]
|
||||
[[data-expected-height\] 1]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 8]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -14,12 +11,6 @@
|
|||
[[data-expected-height\] 22]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 23]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 24]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 31]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -31,6 +22,3 @@
|
|||
|
||||
[[data-expected-height\] 45]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 46]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
[stretch-max-block-size-001.html]
|
||||
[[data-expected-height\] 1]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 8]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -14,9 +11,6 @@
|
|||
[[data-expected-height\] 22]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\]:not([skip-second-pass\]) 24]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\]:not([skip-second-pass\]) 31]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -28,3 +22,6 @@
|
|||
|
||||
[[data-expected-height\]:not([skip-second-pass\]) 45]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 23]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
[stretch-max-inline-size-001.html]
|
||||
[[data-expected-width\] 1]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 8]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -14,9 +11,6 @@
|
|||
[[data-expected-width\] 22]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\]:not([skip-second-pass\]) 24]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\]:not([skip-second-pass\]) 31]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -28,3 +22,6 @@
|
|||
|
||||
[[data-expected-width\]:not([skip-second-pass\]) 45]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 23]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
[stretch-min-block-size-001.html]
|
||||
[[data-expected-height\] 1]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 8]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -17,12 +14,6 @@
|
|||
[[data-expected-height\] 22]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 23]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 24]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 31]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -37,6 +28,3 @@
|
|||
|
||||
[[data-expected-height\] 45]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 46]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
[stretch-min-inline-size-001.html]
|
||||
[[data-expected-width\] 1]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 8]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -17,12 +14,6 @@
|
|||
[[data-expected-width\] 22]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 23]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 24]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 31]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -37,6 +28,3 @@
|
|||
|
||||
[[data-expected-width\] 45]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-width\] 46]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue