Enable css-grid WPT tests (#34052)

* Enable css-grid WPT tests

Signed-off-by: Nico Burns <nico@nicoburns.com>

* Add assertions for css-grid WPT tests

Signed-off-by: Nico Burns <nico@nicoburns.com>

* Add test assertions

Signed-off-by: Nico Burns <nico@nicoburns.com>

* Allow for timeouts

Signed-off-by: Nico Burns <nico@nicoburns.com>

---------

Signed-off-by: Nico Burns <nico@nicoburns.com>
This commit is contained in:
Nico Burns 2024-10-30 22:50:37 +07:00 committed by GitHub
parent 1891c5cfaf
commit 635c10a941
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
1041 changed files with 33645 additions and 2 deletions

View file

@ -0,0 +1,2 @@
[masonry-grid-item-content-baseline-001.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-fragmentation-001.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-fragmentation-002.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-grid-placement-named-lines-001.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-grid-placement-named-lines-002.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-intrinsic-sizing-cols-001.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-intrinsic-sizing-cols-002.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-intrinsic-sizing-cols-003.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-intrinsic-sizing-cols-004.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-intrinsic-sizing-cols-005.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-intrinsic-sizing-rows-001.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-intrinsic-sizing-rows-002.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-intrinsic-sizing-rows-003.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-intrinsic-sizing-rows-004.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-item-placement-001.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-item-placement-002.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-item-placement-004.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-item-placement-005.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-columns-item-containing-block-is-grid-content-width.html]
expected: FAIL

View file

@ -0,0 +1,84 @@
[masonry-grid-template-columns-computed-withcontent.html]
[Property grid-template-rows value 'masonry']
expected: FAIL
[Property grid-template-columns value 'none']
expected: FAIL
[Property grid-template-columns value '20%']
expected: FAIL
[Property grid-template-columns value 'calc(-0.5em + 10px)']
expected: FAIL
[Property grid-template-columns value 'calc(0.5em + 10px)']
expected: FAIL
[Property grid-template-columns value 'calc(30% + 40px)']
expected: FAIL
[Property grid-template-columns value '5fr']
expected: FAIL
[Property grid-template-columns value 'min-content']
expected: FAIL
[Property grid-template-columns value 'max-content']
expected: FAIL
[Property grid-template-columns value 'auto']
expected: FAIL
[Property grid-template-columns value 'minmax(10px, auto)']
expected: FAIL
[Property grid-template-columns value 'minmax(20%, max-content)']
expected: FAIL
[Property grid-template-columns value 'minmax(min-content, calc(-0.5em + 10px))']
expected: FAIL
[Property grid-template-columns value 'minmax(auto, 0)']
expected: FAIL
[Property grid-template-columns value 'fit-content(70px)']
expected: FAIL
[Property grid-template-columns value 'fit-content(20%)']
expected: FAIL
[Property grid-template-columns value 'fit-content(calc(-0.5em + 10px))']
expected: FAIL
[Property grid-template-columns value 'repeat(1, 10px)']
expected: FAIL
[Property grid-template-columns value 'repeat(1, [one two\] 20%)']
expected: FAIL
[Property grid-template-columns value 'repeat(2, minmax(10px, auto))']
expected: FAIL
[Property grid-template-columns value 'repeat(2, fit-content(20%) [three four\] 30px 40px [five six\])']
expected: FAIL
[Property grid-template-columns value 'min-content repeat(5, minmax(10px, auto))']
expected: FAIL
[Property grid-template-columns value '[\] 150px [\] 1fr [\]']
expected: FAIL
[Property grid-template-columns value 'repeat(auto-fill, 200px)']
expected: FAIL
[Property grid-template-columns value 'repeat(auto-fit, [one\] 20%)']
expected: FAIL
[Property grid-template-columns value 'repeat(auto-fill, minmax(100px, 5fr) [two\])']
expected: FAIL
[Property grid-template-columns value 'repeat(auto-fit, [three\] minmax(max-content, 6em) [four\])']
expected: FAIL
[Property grid-template-columns value '[one\] repeat(2, minmax(50px, auto)) [two\] 30px [three\] repeat(auto-fill, 10px) 40px [four five\] repeat(2, minmax(200px, auto)) [six\]']
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-order-001.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-order-002.html]
expected: FAIL

View file

@ -0,0 +1,120 @@
[masonry-parsing.html]
[e.style['grid-template-columns'\] = "masonry" should set the property value]
expected: FAIL
[e.style['grid-template-rows'\] = "masonry" should set the property value]
expected: FAIL
[e.style['grid-template'\] = "masonry / masonry" should set grid-template-areas]
expected: FAIL
[e.style['grid-template'\] = "masonry / masonry" should set grid-template-columns]
expected: FAIL
[e.style['grid-template'\] = "masonry / masonry" should set grid-template-rows]
expected: FAIL
[e.style['grid-template'\] = "masonry / masonry" should not set unrelated longhands]
expected: FAIL
[e.style['grid-template'\] = "masonry / subgrid [foo\]" should set grid-template-areas]
expected: FAIL
[e.style['grid-template'\] = "masonry / subgrid [foo\]" should set grid-template-columns]
expected: FAIL
[e.style['grid-template'\] = "masonry / subgrid [foo\]" should set grid-template-rows]
expected: FAIL
[e.style['grid-template'\] = "masonry / subgrid [foo\]" should not set unrelated longhands]
expected: FAIL
[e.style['grid-template'\] = "10px / masonry" should set grid-template-areas]
expected: FAIL
[e.style['grid-template'\] = "10px / masonry" should set grid-template-columns]
expected: FAIL
[e.style['grid-template'\] = "10px / masonry" should set grid-template-rows]
expected: FAIL
[e.style['grid-template'\] = "10px / masonry" should not set unrelated longhands]
expected: FAIL
[e.style['grid'\] = "masonry / masonry" should set grid-auto-columns]
expected: FAIL
[e.style['grid'\] = "masonry / masonry" should set grid-auto-flow]
expected: FAIL
[e.style['grid'\] = "masonry / masonry" should set grid-auto-rows]
expected: FAIL
[e.style['grid'\] = "masonry / masonry" should set grid-template-areas]
expected: FAIL
[e.style['grid'\] = "masonry / masonry" should set grid-template-columns]
expected: FAIL
[e.style['grid'\] = "masonry / masonry" should set grid-template-rows]
expected: FAIL
[e.style['grid'\] = "masonry / masonry" should not set unrelated longhands]
expected: FAIL
[e.style['grid'\] = "masonry / subgrid [foo\]" should set grid-auto-columns]
expected: FAIL
[e.style['grid'\] = "masonry / subgrid [foo\]" should set grid-auto-flow]
expected: FAIL
[e.style['grid'\] = "masonry / subgrid [foo\]" should set grid-auto-rows]
expected: FAIL
[e.style['grid'\] = "masonry / subgrid [foo\]" should set grid-template-areas]
expected: FAIL
[e.style['grid'\] = "masonry / subgrid [foo\]" should set grid-template-columns]
expected: FAIL
[e.style['grid'\] = "masonry / subgrid [foo\]" should set grid-template-rows]
expected: FAIL
[e.style['grid'\] = "masonry / subgrid [foo\]" should not set unrelated longhands]
expected: FAIL
[e.style['grid'\] = "10px / masonry" should set grid-auto-columns]
expected: FAIL
[e.style['grid'\] = "10px / masonry" should set grid-auto-flow]
expected: FAIL
[e.style['grid'\] = "10px / masonry" should set grid-auto-rows]
expected: FAIL
[e.style['grid'\] = "10px / masonry" should set grid-template-areas]
expected: FAIL
[e.style['grid'\] = "10px / masonry" should set grid-template-columns]
expected: FAIL
[e.style['grid'\] = "10px / masonry" should set grid-template-rows]
expected: FAIL
[e.style['grid'\] = "10px / masonry" should not set unrelated longhands]
expected: FAIL
[e.style['masonry-auto-flow'\] = "pack" should set the property value]
expected: FAIL
[e.style['masonry-auto-flow'\] = "pack ordered" should set the property value]
expected: FAIL
[e.style['masonry-auto-flow'\] = "ordered next" should set the property value]
expected: FAIL
[e.style['masonry-auto-flow'\] = "next definite-first" should set the property value]
expected: FAIL
[e.style['masonry-auto-flow'\] = "definite-first pack" should set the property value]
expected: FAIL

View file

@ -0,0 +1,2 @@
[masonry-subgrid-001.html]
expected: FAIL