Tests: Reimport css/css-grid/parsing/grid-template-columns-computed.html

Sync this test with upstream WPT where they added a new subtest in this
file.
This commit is contained in:
Aliaksandr Kalenik 2025-06-20 15:31:06 +02:00 committed by Alexander Kalenik
parent c414f0c43e
commit 7b077595c3
2 changed files with 5 additions and 3 deletions

View File

@ -1,9 +1,9 @@
Harness status: OK Harness status: OK
Found 24 tests Found 25 tests
3 Pass 3 Pass
21 Fail 22 Fail
Fail Property grid-template-columns value 'none' Fail Property grid-template-columns value 'none'
Pass Property grid-template-columns value '1px' Pass Property grid-template-columns value '1px'
Fail Property grid-template-columns value '1px [a]' Fail Property grid-template-columns value '1px [a]'
@ -27,4 +27,5 @@ Fail Property grid-template-columns value '100% [a] repeat(auto-fill, [b] 200% [
Fail Property grid-template-columns value '100% [a] repeat(auto-fit, [b] 200% [c]) [d] 300%' Fail Property grid-template-columns value '100% [a] repeat(auto-fit, [b] 200% [c]) [d] 300%'
Fail Property grid-template-columns value '[a] 1em repeat(1, 2em [b] 3em) 4em [d]' Fail Property grid-template-columns value '[a] 1em repeat(1, 2em [b] 3em) 4em [d]'
Fail Property grid-template-columns value '[a] 1em repeat(auto-fill, 2em [b] 3em) 4em [d]' Fail Property grid-template-columns value '[a] 1em repeat(auto-fill, 2em [b] 3em) 4em [d]'
Fail Property grid-template-columns value '[a] 1em repeat(auto-fit, 2em [b] 3em) 4em [d]' Fail Property grid-template-columns value '[a] 1em repeat(auto-fit, 2em [b] 3em) 4em [d]'
Fail Property grid-template-columns value 'repeat(calc(1 + 3 * sign(100em - 1px)), 150px)'

View File

@ -40,4 +40,5 @@ test_computed_value("grid-template-columns", "100% [a] repeat(auto-fit, [b] 200%
test_computed_value("grid-template-columns", "[a] 1em repeat(1, 2em [b] 3em) 4em [d]", "[a] 1px 2px [b] 3px 4px [d]"); test_computed_value("grid-template-columns", "[a] 1em repeat(1, 2em [b] 3em) 4em [d]", "[a] 1px 2px [b] 3px 4px [d]");
test_computed_value("grid-template-columns", "[a] 1em repeat(auto-fill, 2em [b] 3em) 4em [d]", "[a] 1px 2px [b] 3px 4px [d]"); test_computed_value("grid-template-columns", "[a] 1em repeat(auto-fill, 2em [b] 3em) 4em [d]", "[a] 1px 2px [b] 3px 4px [d]");
test_computed_value("grid-template-columns", "[a] 1em repeat(auto-fit, 2em [b] 3em) 4em [d]", "[a] 1px 0px [b] 0px 4px [d]"); test_computed_value("grid-template-columns", "[a] 1em repeat(auto-fit, 2em [b] 3em) 4em [d]", "[a] 1px 0px [b] 0px 4px [d]");
test_computed_value("grid-template-columns", "repeat(calc(1 + 3 * sign(100em - 1px)), 150px)", "150px 150px 150px 150px");
</script> </script>