|
1 | 1 | <!DOCTYPE html>
|
2 | 2 | <meta charset="utf-8">
|
3 |
| -<title>CSS ::check Pseudo-Element Test</title> |
| 3 | +<title>CSS ::checkmark Pseudo-Element Test</title> |
4 | 4 | <link rel="help" href="https://github.com/w3c/csswg-drafts/pull/10986">
|
5 |
| -<meta name="assert" content="This test checks the validity of the ::check pseudo element selector." /> |
| 5 | +<meta name="assert" content="This test checks the validity of the ::checkmark pseudo element selector." /> |
6 | 6 | <script src="/resources/testharness.js"></script>
|
7 | 7 | <script src="/resources/testharnessreport.js"></script>
|
8 | 8 | <script src="/css/support/parsing-testcommon.js"></script>
|
9 | 9 | <script>
|
10 |
| -test_valid_selector("::check"); |
11 |
| -test_valid_selector("*::check", "::check"); |
12 |
| -test_valid_selector("foo.bar[baz]::check"); |
13 |
| -test_invalid_selector("::check *"); |
| 10 | +test_valid_selector("::checkmark"); |
| 11 | +test_valid_selector("*::checkmark", "::checkmark"); |
| 12 | +test_valid_selector("foo.bar[baz]::checkmark"); |
| 13 | +test_invalid_selector("::checkmark *"); |
14 | 14 |
|
15 | 15 | // Combinations
|
16 |
| -test_invalid_selector("::check::check"); |
| 16 | +test_invalid_selector("::checkmark::checkmark"); |
17 | 17 |
|
18 |
| -test_invalid_selector("::before::check"); |
19 |
| -test_invalid_selector("::after::check"); |
20 |
| -test_invalid_selector("::marker::check"); |
21 |
| -test_invalid_selector("::placeholder::check"); |
| 18 | +test_invalid_selector("::before::checkmark"); |
| 19 | +test_invalid_selector("::after::checkmark"); |
| 20 | +test_invalid_selector("::marker::checkmark"); |
| 21 | +test_invalid_selector("::placeholder::checkmark"); |
22 | 22 |
|
23 |
| -test_invalid_selector("::check::before"); |
24 |
| -test_invalid_selector("::check::after"); |
25 |
| -test_valid_selector("::check::marker"); |
26 |
| -test_invalid_selector("::check::placeholder"); |
| 23 | +test_invalid_selector("::checkmark::before"); |
| 24 | +test_invalid_selector("::checkmark::after"); |
| 25 | +test_valid_selector("::checkmark::marker"); |
| 26 | +test_invalid_selector("::checkmark::placeholder"); |
27 | 27 |
|
28 |
| -test_invalid_selector("::slotted(*)::check::slotted(*)"); |
29 |
| -test_valid_selector("::slotted(*)::check"); |
| 28 | +test_invalid_selector("::slotted(*)::checkmark::slotted(*)"); |
| 29 | +test_valid_selector("::slotted(*)::checkmark"); |
30 | 30 |
|
31 |
| -test_valid_selector("::part(foo)::check"); |
| 31 | +test_valid_selector("::part(foo)::checkmark"); |
32 | 32 | </script>
|
0 commit comments