Skip to content

Commit 69f44bd

Browse files
tcaptan-crchromium-wpt-export-bot
authored andcommitted
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 <[email protected]> Reviewed-by: Joey Arhar <[email protected]> Auto-Submit: Traian Captan <[email protected]> Reviewed-by: Nate Chapin <[email protected]> Reviewed-by: Aaron Leventhal <[email protected]> Cr-Commit-Position: refs/heads/main@{#1387229}
1 parent 038b09d commit 69f44bd

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>

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)