gecko-dev/testing/web-platform/tests/css/css-ui/parsing/user-select-valid.html
Eric Willigers 5dce82b79e Bug 1528853 [wpt PR 15313] - [css-ui] Parsing of user-select, a=testonly
Automatic update from web-platform-tests
[css-ui] Parsing of user-select (#15313)

https://drafts.csswg.org/css-ui-4/#content-selection
user-select supports keywords: auto | text | none | contain | all
--

wpt-commits: 46e8fe1d71743dc708d6bb7a75ce662be9a928fa
wpt-pr: 15313
2019-03-16 12:13:02 +00:00

21 lines
729 B
HTML

<!DOCTYPE html>
<html>
<head>
<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'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
</head>
<body>
<script>
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>
</html>