Skip to content

Commit 2bec9c3

Browse files
committed
Bug 1933019 [wpt PR 49344] - Rename ::check pseudo element to ::checkmark, a=testonly
Automatic update from web-platform-tests Rename ::check pseudo element to ::checkmark w3c/csswg-drafts#10908 (comment) Bug: 379985080 Change-Id: Ib2ada61e49f62e430ca0c7dce931e05fdd6431e1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6043233 Commit-Queue: Traian Captan <tcaptanchromium.org> Reviewed-by: Joey Arhar <jarharchromium.org> Auto-Submit: Traian Captan <tcaptanchromium.org> Reviewed-by: Nate Chapin <japhetchromium.org> Reviewed-by: Aaron Leventhal <aleventhalchromium.org> Cr-Commit-Position: refs/heads/main{#1387229} -- wpt-commits: fe388646e736d63513813f1e0c80db1bdb638b7a wpt-pr: 49344 UltraBlame original commit: bf96eef3b44166f77a9f8c845134bed29d588661
1 parent ae058dd commit 2bec9c3

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
<!DOCTYPE html>
22
<meta charset="utf-8">
3-
<title>CSS ::check Pseudo-Element Test</title>
3+
<title>CSS ::checkmark Pseudo-Element Test</title>
44
<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." />
66
<script src="/resources/testharness.js"></script>
77
<script src="/resources/testharnessreport.js"></script>
88
<script src="/css/support/parsing-testcommon.js"></script>
99
<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 *");
1414

1515
// Combinations
16-
test_invalid_selector("::check::check");
16+
test_invalid_selector("::checkmark::checkmark");
1717

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");
2222

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");
2727

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");
3030

31-
test_valid_selector("::part(foo)::check");
31+
test_valid_selector("::part(foo)::checkmark");
3232
</script>

testing/web-platform/tests/html/semantics/forms/the-select-element/customizable-select/option-computed-style.tentative.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<script>
1212
test(() => {
1313
assert_equals(
14-
getComputedStyle(document.querySelector('option'), '::check').content,
14+
getComputedStyle(document.querySelector('option'), '::checkmark').content,
1515
`"\u2713" / ""`);
1616
}, 'appearance:base-select options should have a checkmark with empty alt text.');
1717
</script>

0 commit comments

Comments
 (0)