-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1933019 [wpt PR 49344] - Rename ::check pseudo element to ::check…
…mark, 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 <[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} -- wpt-commits: fe388646e736d63513813f1e0c80db1bdb638b7a wpt-pr: 49344
- Loading branch information
1 parent
e7747e9
commit 92f186c
Showing
2 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
36 changes: 18 additions & 18 deletions
36
testing/web-platform/tests/css/css-pseudo/parsing/the-check-pseudo-element.tentative.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<title>CSS ::check Pseudo-Element Test</title> | ||
<title>CSS ::checkmark Pseudo-Element Test</title> | ||
<link rel="help" href="https://github.com/w3c/csswg-drafts/pull/10986"> | ||
<meta name="assert" content="This test checks the validity of the ::check pseudo element selector." /> | ||
<meta name="assert" content="This test checks the validity of the ::checkmark pseudo element selector." /> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<script src="/css/support/parsing-testcommon.js"></script> | ||
<script> | ||
test_valid_selector("::check"); | ||
test_valid_selector("*::check", "::check"); | ||
test_valid_selector("foo.bar[baz]::check"); | ||
test_invalid_selector("::check *"); | ||
test_valid_selector("::checkmark"); | ||
test_valid_selector("*::checkmark", "::checkmark"); | ||
test_valid_selector("foo.bar[baz]::checkmark"); | ||
test_invalid_selector("::checkmark *"); | ||
|
||
// Combinations | ||
test_invalid_selector("::check::check"); | ||
test_invalid_selector("::checkmark::checkmark"); | ||
|
||
test_invalid_selector("::before::check"); | ||
test_invalid_selector("::after::check"); | ||
test_invalid_selector("::marker::check"); | ||
test_invalid_selector("::placeholder::check"); | ||
test_invalid_selector("::before::checkmark"); | ||
test_invalid_selector("::after::checkmark"); | ||
test_invalid_selector("::marker::checkmark"); | ||
test_invalid_selector("::placeholder::checkmark"); | ||
|
||
test_invalid_selector("::check::before"); | ||
test_invalid_selector("::check::after"); | ||
test_valid_selector("::check::marker"); | ||
test_invalid_selector("::check::placeholder"); | ||
test_invalid_selector("::checkmark::before"); | ||
test_invalid_selector("::checkmark::after"); | ||
test_valid_selector("::checkmark::marker"); | ||
test_invalid_selector("::checkmark::placeholder"); | ||
|
||
test_invalid_selector("::slotted(*)::check::slotted(*)"); | ||
test_valid_selector("::slotted(*)::check"); | ||
test_invalid_selector("::slotted(*)::checkmark::slotted(*)"); | ||
test_valid_selector("::slotted(*)::checkmark"); | ||
|
||
test_valid_selector("::part(foo)::check"); | ||
test_valid_selector("::part(foo)::checkmark"); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters