mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
Tests: Resync imported WPT tests
This commit is contained in:
committed by
Shannon Booth
parent
dda3cb99b7
commit
504a8e6d1d
Notes:
github-actions[bot]
2026-04-04 21:38:15 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/504a8e6d1d3 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8776 Reviewed-by: https://github.com/shannonbooth ✅
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user