blob: ef8691a076741e4d50d8f03cc92694dca7872f6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS UI Level 4: getComputedStyle().userSelect</title>
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#content-selection">
<meta name="assert" content="user-select computed value is as specified.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/computed-testcommon.js"></script>
</head>
<body>
<div id="target"></div>
<script>
test_computed_value("user-select", "auto");
test_computed_value("user-select", "text");
test_computed_value("user-select", "none");
test_computed_value("user-select", "contain");
test_computed_value("user-select", "all");
</script>
</body>
</html>
|