layout: Require specific layout info in BoxFragment::new() (#37917)

It was very easy to forget about using `.with_specific_layout_info()` to
set the specific layout info, so it's better to make it a parameter.

In fact this already happened in the past: #36993 fixed the missing
specific layout info for flex items.

This patch fixes it for floats and atomic inlines. It also propagates it
in other cases where not doing so was not a big deal because the
specific layout info was None, but that was a fragile assumption.

Testing: Various WPT improvements
Fixes: #37898

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
Oriol Brufau 2025-07-07 17:25:15 +02:00 committed by GitHub
parent 87f2871661
commit fe9d49fccc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 126 additions and 687 deletions

View file

@ -1,36 +1,3 @@
[grid-inline-auto-repeat-001.html]
['autoFillColumns' with: grid-template-columns: repeat(auto-fill, 10px); and grid-template-rows: 20px;]
expected: FAIL
['autoFitColumns' with: grid-template-columns: repeat(auto-fit, 10px); and grid-template-rows: 20px;]
expected: FAIL
['autoFillRows' with: grid-template-columns: 20px; and grid-template-rows: repeat(auto-fill, 10px);]
expected: FAIL
['autoFitRows' with: grid-template-columns: 20px; and grid-template-rows: repeat(auto-fit, 10px);]
expected: FAIL
['autoFillColumns' with: grid-template-columns: repeat(auto-fill, 9px); and grid-template-rows: 20px;]
expected: FAIL
['autoFitColumns' with: grid-template-columns: repeat(auto-fit, 9px); and grid-template-rows: 20px;]
expected: FAIL
['autoFillRows' with: grid-template-columns: 20px; and grid-template-rows: repeat(auto-fill, 9px);]
expected: FAIL
['autoFitRows' with: grid-template-columns: 20px; and grid-template-rows: repeat(auto-fit, 9px);]
expected: FAIL
['autoFillColumns' with: grid-template-columns: repeat(auto-fill, 30px); and grid-template-rows: 20px;]
expected: FAIL
['autoFitColumns' with: grid-template-columns: repeat(auto-fit, 30px); and grid-template-rows: 20px;]
expected: FAIL
['autoFillRows' with: grid-template-columns: 20px; and grid-template-rows: repeat(auto-fill, 30px);]
expected: FAIL
['autoFitRows' with: grid-template-columns: 20px; and grid-template-rows: repeat(auto-fit, 30px);]
expected: FAIL

View file

@ -1,162 +1,12 @@
[grid-inline-support-flexible-lengths-001.html]
['emptyGrid' with: grid-template-columns: 1fr; and grid-template-rows: 1fr;]
expected: FAIL
['grid' with: grid-template-columns: 1fr; and grid-template-rows: 1fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: 2fr; and grid-template-rows: 2fr;]
expected: FAIL
['grid' with: grid-template-columns: 2fr; and grid-template-rows: 2fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: 10fr; and grid-template-rows: 10fr;]
expected: FAIL
['grid' with: grid-template-columns: 10fr; and grid-template-rows: 10fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: 0.5fr; and grid-template-rows: 0.5fr;]
expected: FAIL
['grid' with: grid-template-columns: 0.5fr; and grid-template-rows: 0.5fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: .5fr; and grid-template-rows: .5fr;]
expected: FAIL
['grid' with: grid-template-columns: .5fr; and grid-template-rows: .5fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: minmax(100px, 1fr); and grid-template-rows: minmax(100px, 1fr);]
expected: FAIL
['grid' with: grid-template-columns: minmax(100px, 1fr); and grid-template-rows: minmax(100px, 1fr);]
expected: FAIL
['emptyGrid' with: grid-template-columns: minmax(1fr, 1fr); and grid-template-rows: minmax(1fr, 1fr);]
expected: FAIL
['grid' with: grid-template-columns: minmax(1fr, 1fr); and grid-template-rows: minmax(1fr, 1fr);]
expected: FAIL
['emptyGrid' with: grid-template-columns: 1fr 1fr; and grid-template-rows: 1fr 1fr;]
expected: FAIL
['grid' with: grid-template-columns: 1fr 1fr; and grid-template-rows: 1fr 1fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: 0.25fr 0.75fr; and grid-template-rows: 0.25fr 0.75fr;]
expected: FAIL
['grid' with: grid-template-columns: 0.25fr 0.75fr; and grid-template-rows: 0.25fr 0.75fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: 1fr 2fr 1fr; and grid-template-rows: 1fr 2fr 1fr;]
expected: FAIL
['grid' with: grid-template-columns: 1fr 2fr 1fr; and grid-template-rows: 1fr 2fr 1fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: auto 1fr 4fr 3fr 2fr; and grid-template-rows: auto 1fr 4fr 3fr 2fr;]
expected: FAIL
['grid' with: grid-template-columns: auto 1fr 4fr 3fr 2fr; and grid-template-rows: auto 1fr 4fr 3fr 2fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: 1fr 4fr 100px 3fr 2fr; and grid-template-rows: 1fr 4fr 100px 3fr 2fr;]
expected: FAIL
['grid' with: grid-template-columns: 1fr 4fr 100px 3fr 2fr; and grid-template-rows: 1fr 4fr 100px 3fr 2fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: auto 1fr; and grid-template-rows: auto 1fr;]
expected: FAIL
['grid' with: grid-template-columns: auto 1fr; and grid-template-rows: auto 1fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: max-content 1fr; and grid-template-rows: max-content 1fr;]
expected: FAIL
['grid' with: grid-template-columns: max-content 1fr; and grid-template-rows: max-content 1fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: min-content 1fr; and grid-template-rows: min-content 1fr;]
expected: FAIL
['grid' with: grid-template-columns: min-content 1fr; and grid-template-rows: min-content 1fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: 1fr auto; and grid-template-rows: 1fr auto;]
expected: FAIL
['grid' with: grid-template-columns: 1fr auto; and grid-template-rows: 1fr auto;]
expected: FAIL
['emptyGrid' with: grid-template-columns: 300px 1fr; and grid-template-rows: 200px 1fr;]
expected: FAIL
['grid' with: grid-template-columns: 300px 1fr; and grid-template-rows: 200px 1fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: 800px 1fr; and grid-template-rows: 600px 1fr;]
expected: FAIL
['grid' with: grid-template-columns: 800px 1fr; and grid-template-rows: 600px 1fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: 1000px 1fr; and grid-template-rows: 700px 1fr;]
expected: FAIL
['grid' with: grid-template-columns: 1000px 1fr; and grid-template-rows: 700px 1fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: calc(50px + 50%) 1fr; and grid-template-rows: calc(50px + 50%) 1fr;]
expected: FAIL
['grid' with: grid-template-columns: calc(50px + 50%) 1fr; and grid-template-rows: calc(50px + 50%) 1fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: minmax(100px, 300px) 1fr; and grid-template-rows: minmax(100px, 200px) 1fr;]
expected: FAIL
['grid' with: grid-template-columns: minmax(100px, 300px) 1fr; and grid-template-rows: minmax(100px, 200px) 1fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: repeat(4, 1fr); and grid-template-rows: repeat(4, 1fr);]
expected: FAIL
['grid' with: grid-template-columns: repeat(4, 1fr); and grid-template-rows: repeat(4, 1fr);]
expected: FAIL
['emptyGrid' with: grid-template-columns: [a\] repeat(4, [b\] 1fr [c\]) [d\]; and grid-template-rows: [z\] repeat(4, [y\] 1fr) [x\];]
expected: FAIL
['grid' with: grid-template-columns: [a\] repeat(4, [b\] 1fr [c\]) [d\]; and grid-template-rows: [z\] repeat(4, [y\] 1fr) [x\];]
expected: FAIL
['grid' with: grid-template-columns: fr; and grid-template-rows: fr;]
expected: FAIL
['grid' with: grid-template-columns: 1 fr; and grid-template-rows: 1 fr;]
expected: FAIL
['grid' with: grid-template-columns: 1free-space; and grid-template-rows: 1free-space;]
expected: FAIL
['grid' with: grid-template-columns: -2fr; and grid-template-rows: -2fr;]
expected: FAIL
['grid' with: grid-template-columns: 0,5fr; and grid-template-rows: 0,5fr;]
expected: FAIL
['grid' with: grid-template-columns: calc(1fr + 100px); and grid-template-rows: calc(1fr + 100px);]
expected: FAIL
['grid' with: grid-template-columns: (1fr) auto; and grid-template-rows: (1fr) auto;]
expected: FAIL
['grid' with: grid-template-columns: minmax(1fr, 1000px); and grid-template-rows: minmax(1fr, 700px);]
expected: FAIL

View file

@ -1,99 +1,18 @@
[grid-inline-support-grid-template-columns-rows-001.html]
['grid' with: grid-template-columns: none; and grid-template-rows: none;]
expected: FAIL
['emptyGrid' with: grid-template-columns: auto; and grid-template-rows: auto;]
expected: FAIL
['grid' with: grid-template-columns: auto; and grid-template-rows: auto;]
expected: FAIL
['emptyGrid' with: grid-template-columns: 25%; and grid-template-rows: 50%;]
expected: FAIL
['grid' with: grid-template-columns: 25%; and grid-template-rows: 50%;]
expected: FAIL
['emptyGrid' with: grid-template-columns: calc(200px + 10%); and grid-template-rows: calc(25% + 50px);]
expected: FAIL
['grid' with: grid-template-columns: calc(200px + 10%); and grid-template-rows: calc(25% + 50px);]
expected: FAIL
['emptyGrid' with: grid-template-columns: 1fr; and grid-template-rows: 1fr;]
expected: FAIL
['grid' with: grid-template-columns: 1fr; and grid-template-rows: 1fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: max-content; and grid-template-rows: max-content;]
expected: FAIL
['grid' with: grid-template-columns: max-content; and grid-template-rows: max-content;]
expected: FAIL
['emptyGrid' with: grid-template-columns: min-content; and grid-template-rows: min-content;]
expected: FAIL
['grid' with: grid-template-columns: min-content; and grid-template-rows: min-content;]
expected: FAIL
['emptyGrid' with: grid-template-columns: minmax(200px, 400px); and grid-template-rows: minmax(50px, 100px);]
expected: FAIL
['grid' with: grid-template-columns: minmax(200px, 400px); and grid-template-rows: minmax(50px, 100px);]
expected: FAIL
['emptyGrid' with: grid-template-columns: minmax(calc(10% + 200px), calc(800px - 20%)); and grid-template-rows: minmax(calc(20% + 50px), calc(600px - 10%));]
expected: FAIL
['grid' with: grid-template-columns: minmax(calc(10% + 200px), calc(800px - 20%)); and grid-template-rows: minmax(calc(20% + 50px), calc(600px - 10%));]
expected: FAIL
['emptyGrid' with: grid-template-columns: 40em 100px 15%; and grid-template-rows: 50px 20em 10%;]
expected: FAIL
['grid' with: grid-template-columns: 40em 100px 15%; and grid-template-rows: 50px 20em 10%;]
expected: FAIL
['emptyGrid' with: grid-template-columns: 200px 1fr; and grid-template-rows: 1fr 100px;]
expected: FAIL
['grid' with: grid-template-columns: 200px 1fr; and grid-template-rows: 1fr 100px;]
expected: FAIL
['emptyGrid' with: grid-template-columns: auto 1fr; and grid-template-rows: auto 1fr;]
expected: FAIL
['grid' with: grid-template-columns: auto 1fr; and grid-template-rows: auto 1fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: 1fr 3fr; and grid-template-rows: 2fr 1fr;]
expected: FAIL
['grid' with: grid-template-columns: 1fr 3fr; and grid-template-rows: 2fr 1fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: minmax(25px, 75px) 750px; and grid-template-rows: minmax(50px, 150px) 500px;]
expected: FAIL
['grid' with: grid-template-columns: minmax(25px, 75px) 750px; and grid-template-rows: minmax(50px, 150px) 500px;]
expected: FAIL
['emptyGrid' with: grid-template-columns: min-content 1fr calc(20px + 10%) minmax(30em, 50em); and grid-template-rows: min-content 1fr calc(10% + 40px) minmax(3em, 5em);]
expected: FAIL
['grid' with: grid-template-columns: min-content 1fr calc(20px + 10%) minmax(30em, 50em); and grid-template-rows: min-content 1fr calc(10% + 40px) minmax(3em, 5em);]
expected: FAIL
['grid' with: grid-template-columns: foo; and grid-template-rows: bar;]
expected: FAIL
['grid' with: grid-template-columns: auto none; and grid-template-rows: none auto;]
expected: FAIL
['grid' with: grid-template-columns: 100px, 200px; and grid-template-rows: 300px, 400px;]
expected: FAIL
['grid' with: grid-template-columns: minmax(100px, 200px, 300px); and grid-template-rows: minmax(100px, 200px, 300px);]
expected: FAIL

View file

@ -11,12 +11,6 @@
['grid' with: grid-template-columns: [F1rst-L1_n3\] auto [L4st-L1_n3\]; and grid-template-rows: [F1rst-L1_n3\] auto [L4st-L1_n3\];]
expected: FAIL
['emptyGrid' with: grid-template-columns: [\] auto [ \]; and grid-template-rows: [ \] auto [\];]
expected: FAIL
['grid' with: grid-template-columns: [\] auto [ \]; and grid-template-rows: [ \] auto [\];]
expected: FAIL
['emptyGrid' with: grid-template-columns: [first\] auto; and grid-template-rows: [first\] auto;]
expected: FAIL
@ -112,66 +106,3 @@
['grid' with: grid-template-columns: [a\] min-content [b\] 1fr [c\] calc(20px + 10%) [d\] minmax(30em, 50em) [e\]; and grid-template-rows: [z\] min-content [y\] 1fr [x\] calc(10% + 40px) [w\] minmax(3em, 5em) [v\];]
expected: FAIL
['grid' with: grid-template-columns: [a\]; and grid-template-rows: [a\];]
expected: FAIL
['grid' with: grid-template-columns: [a b\]; and grid-template-rows: [a b\];]
expected: FAIL
['grid' with: grid-template-columns: [a\] none [b\]; and grid-template-rows: [a\] none [b\];]
expected: FAIL
['grid' with: grid-template-columns: [a\] [b\]; and grid-template-rows: [a\] [b\];]
expected: FAIL
['grid' with: grid-template-columns: a auto b; and grid-template-rows: a auto b;]
expected: FAIL
['grid' with: grid-template-columns: (a) auto (b); and grid-template-rows: (a) auto (b);]
expected: FAIL
['grid' with: grid-template-columns: 'a' auto 'b'; and grid-template-rows: 'a' auto 'b';]
expected: FAIL
['grid' with: grid-template-columns: "a" auto "b"; and grid-template-rows: "a" auto "b";]
expected: FAIL
['grid' with: grid-template-columns: [a, b\] auto [a, b\]; and grid-template-rows: [a, b\] auto [a, b\];]
expected: FAIL
['grid' with: grid-template-columns: [a\] [b\] auto [c d\] [e\]; and grid-template-rows: [a\] [b\] auto [c d\] [e\];]
expected: FAIL
['grid' with: grid-template-columns: [a [b\]\] auto [c\]; and grid-template-rows: [a [b\]\] auto [c\];]
expected: FAIL
['grid' with: grid-template-columns: [a\] auto [[b\]\]; and grid-template-rows: [a\] auto [[b\]\];]
expected: FAIL
['grid' with: grid-template-columns: [a auto [b\]; and grid-template-rows: [a auto [b\];]
expected: FAIL
['grid' with: grid-template-columns: [a 100px\] auto [b\]; and grid-template-rows: [a 100px\] auto [b\];]
expected: FAIL
['grid' with: grid-template-columns: [a 50%\] auto [b\]; and grid-template-rows: [a 50%\] auto [b\];]
expected: FAIL
['grid' with: grid-template-columns: [5\] auto [10\]; and grid-template-rows: [5\] auto [10\];]
expected: FAIL
['grid' with: grid-template-columns: [a.\] auto [b*\]; and grid-template-rows: [a.\] auto [b*\];]
expected: FAIL
['grid' with: grid-template-columns: [#a\] auto [$b\]; and grid-template-rows: [#a\] auto [$b\];]
expected: FAIL
['grid' with: grid-template-columns: [initial\] auto; and grid-template-rows: [initial\] auto;]
expected: FAIL
['grid' with: grid-template-columns: [inherit\] auto; and grid-template-rows: [inherit\] auto;]
expected: FAIL
['grid' with: grid-template-columns: [default\] auto; and grid-template-rows: [default\] auto;]
expected: FAIL

View file

@ -1,40 +1,10 @@
[grid-inline-support-repeat-001.html]
['emptyGrid' with: grid-template-columns: repeat(1, auto); and grid-template-rows: repeat(1, auto);]
expected: FAIL
['grid' with: grid-template-columns: repeat(1, auto); and grid-template-rows: repeat(1, auto);]
expected: FAIL
['emptyGrid' with: grid-template-columns: repeat(2, auto); and grid-template-rows: repeat(2, auto);]
expected: FAIL
['grid' with: grid-template-columns: repeat(2, auto); and grid-template-rows: repeat(2, auto);]
expected: FAIL
['emptyGrid' with: grid-template-columns: repeat(2, minmax(50px, calc(50px + 50%))); and grid-template-rows: repeat(2, minmax(50px, calc(50px + 50%)));]
expected: FAIL
['grid' with: grid-template-columns: repeat(2, minmax(50px, calc(50px + 50%))); and grid-template-rows: repeat(2, minmax(50px, calc(50px + 50%)));]
expected: FAIL
['emptyGrid' with: grid-template-columns: repeat(5, 10%); and grid-template-rows: repeat(5, 10%);]
expected: FAIL
['grid' with: grid-template-columns: repeat(5, 10%); and grid-template-rows: repeat(5, 10%);]
expected: FAIL
['emptyGrid' with: grid-template-columns: max-content repeat(2, 25%) 1fr; and grid-template-rows: 100px repeat(2, 25%) 1fr;]
expected: FAIL
['grid' with: grid-template-columns: max-content repeat(2, 25%) 1fr; and grid-template-rows: max-content repeat(2, 25%) 1fr;]
expected: FAIL
['emptyGrid' with: grid-template-columns: repeat(2, min-content 50px); and grid-template-rows: repeat(2, min-content 50px);]
expected: FAIL
['grid' with: grid-template-columns: repeat(2, min-content 50px); and grid-template-rows: repeat(2, min-content 50px);]
expected: FAIL
['emptyGrid' with: grid-template-columns: repeat(2, [a\] minmax(50px, 100px) [b\] 25em [c\]); and grid-template-rows: repeat(2, [a\] minmax(50px, 100px) [b\] 25em [c\]);]
expected: FAIL
@ -71,23 +41,8 @@
['grid' with: grid-template-columns: [a\] min-content repeat(2, [b\] 1fr [c\] calc(20px + 10%)) [d\] minmax(30em, 50em) [e\]; and grid-template-rows: [z\] min-content repeat(2, [y\] 1fr [x\] calc(10% + 40px)) [w\] minmax(3em, 5em) [v\];]
expected: FAIL
['grid' with: grid-template-columns: repeat(-1, auto); and grid-template-rows: repeat(-1, auto);]
['emptyGrid' with: grid-template-columns: [a\] repeat(2, [b\] 100px); and grid-template-rows: [a\] repeat(2, [b\] 100px);]
expected: FAIL
['grid' with: grid-template-columns: repeat(auto, 2); and grid-template-rows: repeat(auto, 2);]
expected: FAIL
['grid' with: grid-template-columns: repeat 2, auto; and grid-template-rows: repeat 2, auto;]
expected: FAIL
['grid' with: grid-template-columns: repeat(2 auto); and grid-template-rows: repeat(2 auto);]
expected: FAIL
['grid' with: grid-template-columns: 100px (repeat 2, auto); and grid-template-rows: (repeat 2, auto);]
expected: FAIL
['grid' with: grid-template-columns: repeat(2, 50px repeat(2, 100px)); and grid-template-rows: repeat(2, 50px repeat(2, 100px));]
expected: FAIL
['grid' with: grid-template-columns: 100px repeat(2, [a\]); and grid-template-rows: 100px repeat(2, [a\]);]
['grid' with: grid-template-columns: [a\] repeat(2, [b\] 100px); and grid-template-rows: [a\] repeat(2, [b\] 100px);]
expected: FAIL

View file

@ -1,108 +0,0 @@
[grid-inline-template-columns-rows-resolved-values-001.html]
['grid' with: grid-template-columns: ; and grid-template-rows: ;]
expected: FAIL
['grid' with: grid-template-columns: auto auto; and grid-template-rows: ;]
expected: FAIL
['grid' with: grid-template-columns: 60px; and grid-template-rows: ;]
expected: FAIL
['grid' with: grid-template-columns: 100px 60px; and grid-template-rows: ;]
expected: FAIL
['grid' with: grid-template-columns: ; and grid-template-rows: 50px;]
expected: FAIL
['grid' with: grid-template-columns: ; and grid-template-rows: 50px 30px;]
expected: FAIL
['grid' with: grid-template-columns: 60px; and grid-template-rows: 50px;]
expected: FAIL
['grid' with: grid-template-columns: 60px; and grid-template-rows: 50px 30px;]
expected: FAIL
['grid' with: grid-template-columns: 100px 60px; and grid-template-rows: 50px;]
expected: FAIL
['gridItemsPositions' with: grid-template-columns: ; and grid-template-rows: ;]
expected: FAIL
['gridItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: ;]
expected: FAIL
['gridItemsPositions' with: grid-template-columns: 60px 50px; and grid-template-rows: ;]
expected: FAIL
['gridItemsPositions' with: grid-template-columns: ; and grid-template-rows: 60px;]
expected: FAIL
['gridItemsPositions' with: grid-template-columns: ; and grid-template-rows: 60px 50px;]
expected: FAIL
['gridItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: 60px;]
expected: FAIL
['gridItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: 60px 50px;]
expected: FAIL
['gridItemsPositions' with: grid-template-columns: 60px 50px; and grid-template-rows: 60px;]
expected: FAIL
['gridItemsPositions' with: grid-template-columns: 60px 50px; and grid-template-rows: 60px 50px;]
expected: FAIL
['gridAutoFlowColumn' with: grid-template-columns: ; and grid-template-rows: ;]
expected: FAIL
['gridAutoFlowColumn' with: grid-template-columns: ; and grid-template-rows: auto auto;]
expected: FAIL
['gridAutoFlowColumn' with: grid-template-columns: 60px; and grid-template-rows: ;]
expected: FAIL
['gridAutoFlowColumn' with: grid-template-columns: 100px 60px; and grid-template-rows: ;]
expected: FAIL
['gridAutoFlowColumn' with: grid-template-columns: ; and grid-template-rows: 50px;]
expected: FAIL
['gridAutoFlowColumn' with: grid-template-columns: ; and grid-template-rows: 50px 30px;]
expected: FAIL
['gridAutoFlowColumn' with: grid-template-columns: 60px; and grid-template-rows: 50px;]
expected: FAIL
['gridAutoFlowColumn' with: grid-template-columns: 60px; and grid-template-rows: 50px 30px;]
expected: FAIL
['gridAutoFlowColumn' with: grid-template-columns: 100px 60px; and grid-template-rows: 50px;]
expected: FAIL
['gridAutoFlowColumnItemsPositions' with: grid-template-columns: ; and grid-template-rows: ;]
expected: FAIL
['gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: ;]
expected: FAIL
['gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px 70px; and grid-template-rows: ;]
expected: FAIL
['gridAutoFlowColumnItemsPositions' with: grid-template-columns: ; and grid-template-rows: 60px;]
expected: FAIL
['gridAutoFlowColumnItemsPositions' with: grid-template-columns: ; and grid-template-rows: 60px 70px;]
expected: FAIL
['gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: 60px;]
expected: FAIL
['gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: 60px 70px;]
expected: FAIL
['gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px 70px; and grid-template-rows: 60px;]
expected: FAIL
['gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px 70px; and grid-template-rows: 60px 70px;]
expected: FAIL

View file

@ -4,3 +4,105 @@
['gridAutoFlowColumn' with: grid-template-columns: ; and grid-template-rows: auto auto;]
expected: FAIL
['grid' with: grid-template-columns: ; and grid-template-rows: ;]
expected: FAIL
['grid' with: grid-template-columns: 60px; and grid-template-rows: ;]
expected: FAIL
['grid' with: grid-template-columns: 100px 60px; and grid-template-rows: ;]
expected: FAIL
['grid' with: grid-template-columns: ; and grid-template-rows: 50px;]
expected: FAIL
['grid' with: grid-template-columns: ; and grid-template-rows: 50px 30px;]
expected: FAIL
['grid' with: grid-template-columns: 60px; and grid-template-rows: 50px;]
expected: FAIL
['grid' with: grid-template-columns: 60px; and grid-template-rows: 50px 30px;]
expected: FAIL
['grid' with: grid-template-columns: 100px 60px; and grid-template-rows: 50px;]
expected: FAIL
['gridItemsPositions' with: grid-template-columns: ; and grid-template-rows: ;]
expected: FAIL
['gridItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: ;]
expected: FAIL
['gridItemsPositions' with: grid-template-columns: 60px 50px; and grid-template-rows: ;]
expected: FAIL
['gridItemsPositions' with: grid-template-columns: ; and grid-template-rows: 60px;]
expected: FAIL
['gridItemsPositions' with: grid-template-columns: ; and grid-template-rows: 60px 50px;]
expected: FAIL
['gridItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: 60px;]
expected: FAIL
['gridItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: 60px 50px;]
expected: FAIL
['gridItemsPositions' with: grid-template-columns: 60px 50px; and grid-template-rows: 60px;]
expected: FAIL
['gridItemsPositions' with: grid-template-columns: 60px 50px; and grid-template-rows: 60px 50px;]
expected: FAIL
['gridAutoFlowColumn' with: grid-template-columns: ; and grid-template-rows: ;]
expected: FAIL
['gridAutoFlowColumn' with: grid-template-columns: 60px; and grid-template-rows: ;]
expected: FAIL
['gridAutoFlowColumn' with: grid-template-columns: 100px 60px; and grid-template-rows: ;]
expected: FAIL
['gridAutoFlowColumn' with: grid-template-columns: ; and grid-template-rows: 50px;]
expected: FAIL
['gridAutoFlowColumn' with: grid-template-columns: ; and grid-template-rows: 50px 30px;]
expected: FAIL
['gridAutoFlowColumn' with: grid-template-columns: 60px; and grid-template-rows: 50px;]
expected: FAIL
['gridAutoFlowColumn' with: grid-template-columns: 60px; and grid-template-rows: 50px 30px;]
expected: FAIL
['gridAutoFlowColumn' with: grid-template-columns: 100px 60px; and grid-template-rows: 50px;]
expected: FAIL
['gridAutoFlowColumnItemsPositions' with: grid-template-columns: ; and grid-template-rows: ;]
expected: FAIL
['gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: ;]
expected: FAIL
['gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px 70px; and grid-template-rows: ;]
expected: FAIL
['gridAutoFlowColumnItemsPositions' with: grid-template-columns: ; and grid-template-rows: 60px;]
expected: FAIL
['gridAutoFlowColumnItemsPositions' with: grid-template-columns: ; and grid-template-rows: 60px 70px;]
expected: FAIL
['gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: 60px;]
expected: FAIL
['gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px; and grid-template-rows: 60px 70px;]
expected: FAIL
['gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px 70px; and grid-template-rows: 60px;]
expected: FAIL
['gridAutoFlowColumnItemsPositions' with: grid-template-columns: 60px 70px; and grid-template-rows: 60px 70px;]
expected: FAIL

View file

@ -1,28 +1,4 @@
[grid-minimum-size-grid-items-021.html]
[grid-1.gridTemplateColumns]
expected: FAIL
[grid-1.gridTemplateRows]
expected: FAIL
[grid-2.gridTemplateColumns]
expected: FAIL
[grid-2.gridTemplateRows]
expected: FAIL
[grid-3.gridTemplateColumns]
expected: FAIL
[grid-3.gridTemplateRows]
expected: FAIL
[grid-4.gridTemplateColumns]
expected: FAIL
[grid-4.gridTemplateRows]
expected: FAIL
[grid-5.height]
expected: FAIL
@ -50,30 +26,6 @@
[img-6.height]
expected: FAIL
[grid-7.gridTemplateColumns]
expected: FAIL
[grid-7.gridTemplateRows]
expected: FAIL
[grid-8.gridTemplateColumns]
expected: FAIL
[grid-8.gridTemplateRows]
expected: FAIL
[grid-9.gridTemplateColumns]
expected: FAIL
[grid-9.gridTemplateRows]
expected: FAIL
[grid-10.gridTemplateColumns]
expected: FAIL
[grid-10.gridTemplateRows]
expected: FAIL
[grid-11.height]
expected: FAIL
@ -100,75 +52,3 @@
[img-12.height]
expected: FAIL
[grid-13.gridTemplateColumns]
expected: FAIL
[grid-13.gridTemplateRows]
expected: FAIL
[grid-14.gridTemplateColumns]
expected: FAIL
[grid-14.gridTemplateRows]
expected: FAIL
[grid-15.gridTemplateColumns]
expected: FAIL
[grid-15.gridTemplateRows]
expected: FAIL
[grid-16.gridTemplateColumns]
expected: FAIL
[grid-16.gridTemplateRows]
expected: FAIL
[grid-17.gridTemplateColumns]
expected: FAIL
[grid-17.gridTemplateRows]
expected: FAIL
[grid-18.gridTemplateColumns]
expected: FAIL
[grid-18.gridTemplateRows]
expected: FAIL
[grid-19.gridTemplateColumns]
expected: FAIL
[grid-19.gridTemplateRows]
expected: FAIL
[grid-20.gridTemplateColumns]
expected: FAIL
[grid-20.gridTemplateRows]
expected: FAIL
[grid-21.gridTemplateColumns]
expected: FAIL
[grid-21.gridTemplateRows]
expected: FAIL
[grid-22.gridTemplateColumns]
expected: FAIL
[grid-22.gridTemplateRows]
expected: FAIL
[grid-23.gridTemplateColumns]
expected: FAIL
[grid-23.gridTemplateRows]
expected: FAIL
[grid-24.gridTemplateColumns]
expected: FAIL
[grid-24.gridTemplateRows]
expected: FAIL

View file

@ -28,63 +28,3 @@
[fit-content(calc(0px + 150%))]
expected: FAIL
[fit-content(0%); min-width: 0px]
expected: FAIL
[fit-content(50%); min-width: 0px]
expected: FAIL
[fit-content(75%); min-width: 0px]
expected: FAIL
[fit-content(100%); min-width: 0px]
expected: FAIL
[fit-content(150%); min-width: 0px]
expected: FAIL
[fit-content(calc(0px + 0%)); min-width: 0px]
expected: FAIL
[fit-content(calc(0px + 50%)); min-width: 0px]
expected: FAIL
[fit-content(calc(0px + 75%)); min-width: 0px]
expected: FAIL
[fit-content(calc(0px + 100%)); min-width: 0px]
expected: FAIL
[fit-content(calc(0px + 150%)); min-width: 0px]
expected: FAIL
[fit-content(0%); min-width: auto]
expected: FAIL
[fit-content(50%); min-width: auto]
expected: FAIL
[fit-content(75%); min-width: auto]
expected: FAIL
[fit-content(100%); min-width: auto]
expected: FAIL
[fit-content(150%); min-width: auto]
expected: FAIL
[fit-content(calc(0px + 0%)); min-width: auto]
expected: FAIL
[fit-content(calc(0px + 50%)); min-width: auto]
expected: FAIL
[fit-content(calc(0px + 75%)); min-width: auto]
expected: FAIL
[fit-content(calc(0px + 100%)); min-width: auto]
expected: FAIL
[fit-content(calc(0px + 150%)); min-width: auto]
expected: FAIL