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 ✅
@@ -43,6 +43,10 @@ test_valid_value('width', 'random(fixed calc(2 / 4), 0px, 100px)', 'random(fixed
|
||||
|
||||
// Test nested in expressions
|
||||
test_valid_value('width', 'calc(2 * random(0px, 100px))');
|
||||
test_valid_value('math-depth', 'add(random(0, 3))');
|
||||
test_valid_value('color', 'rgb(random(0, 255) random(0, 255) random(0, 255))');
|
||||
test_valid_value('color', 'rgb(from blue r g random(b, (150 + b)))');
|
||||
test_valid_value('color', 'color-mix(in srgb, rgb(random(0, 255) 0 random(0, 255)), rgb(0 random(0, 255) 0))');
|
||||
|
||||
// Test other types
|
||||
test_valid_value('max-lines', 'random(25, 50)');
|
||||
|
||||
Reference in New Issue
Block a user