Tests: Resync imported WPT tests

This commit is contained in:
Tim Ledbetter
2026-04-04 17:18:58 +01:00
committed by Shannon Booth
parent dda3cb99b7
commit 504a8e6d1d
Notes: github-actions[bot] 2026-04-04 21:38:15 +00:00
306 changed files with 6274 additions and 2460 deletions

View File

@@ -44,4 +44,13 @@ test_length_equals('calc(0px - clamp(10px, 20px, 30px))', '-20px');
test_length_equals('calc(0px + clamp(30px, 100px, 20px))', '30px');
test_length_equals('calc(0px - clamp(30px, 100px, 20px))', '-30px');
// "none" values
test_length_equals('clamp(none, 30px, 33px)', '30px');
test_length_equals('clamp(none, 33px, 30px)', '30px');
test_length_equals('clamp(30px, 33px, none)', '33px');
test_length_equals('clamp(33px, 30px, none)', '33px');
test_length_equals('clamp(none, 30px, none)', '30px');
test_length_equals('clamp(1000px, 1em / 1rem * 1px, none)', '1000px');
test_length_equals('clamp(1600px / 1em * 1px, 1em / 1rem * 1px, none)', '80px');
</script>