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
Notes: github-actions[bot] 2025-06-21 20:08:37 +00:00
2 changed files with 5 additions and 3 deletions

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(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", "repeat(calc(1 + 3 * sign(100em - 1px)), 150px)", "150px 150px 150px 150px");
</script>