mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +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 ✅
@@ -49,6 +49,10 @@ test_computed_value("cursor", "all-scroll");
|
||||
test_computed_value("cursor", "zoom-in");
|
||||
test_computed_value("cursor", "zoom-out");
|
||||
|
||||
test_computed_value("cursor", "linear-gradient(200grad, red 10%, blue calc(75% - 2px)), auto", "linear-gradient(rgb(255, 0, 0) 10%, rgb(0, 0, 255) calc(75% - 2px), auto");
|
||||
test_computed_value("cursor", "radial-gradient(farthest-side at calc(5px + 10%), red, blue), pointer", "radial-gradient(farthest-side at calc(10% + 5px) 50%, rgb(255, 0, 0), rgb(0, 0, 255)), pointer");
|
||||
test_computed_value("cursor", "conic-gradient(from 3.1416rad at 20% 20%, red, blue), crosshair", "conic-gradient(from 180deg at 20% 20%, rgb(255, 0, 0), rgb(0, 0, 255), pointer");
|
||||
|
||||
// Not yet tested: // [ [<url> [<x> <y>]?,]*
|
||||
// "relative URLs converted to absolute"
|
||||
</script>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<title>CSS UI Level 4: parsing user-select with valid values</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#content-selection">
|
||||
<meta name="assert" content="user-select supports the full grammar 'auto | text | none | contain | all'.">
|
||||
<meta name="assert" content="user-select supports the full grammar 'auto | text | none | all'.">
|
||||
<script src="../../../resources/testharness.js"></script>
|
||||
<script src="../../../resources/testharnessreport.js"></script>
|
||||
<script src="../../../css/support/parsing-testcommon.js"></script>
|
||||
@@ -14,7 +14,6 @@
|
||||
test_valid_value("user-select", "auto");
|
||||
test_valid_value("user-select", "text");
|
||||
test_valid_value("user-select", "none");
|
||||
test_valid_value("user-select", "contain");
|
||||
test_valid_value("user-select", "all");
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user