Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /css/css-ui/parsing/user-select-valid.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS UI Level 4: parsing user-select with valid values</title>
<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>