Skip to content

Commit

Permalink
Rename ::select-arrow to ::picker-icon
Browse files Browse the repository at this point in the history
w3c/csswg-drafts#10908 (comment)

Bug: 379985080
Change-Id: Ic33e948c76c6fc9a53146735bd060e01a49d13dc
AX-Relnotes: n/a.
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6065538
Auto-Submit: Traian Captan <tcaptan@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Commit-Queue: Traian Captan <tcaptan@chromium.org>
Reviewed-by: Aaron Leventhal <aleventhal@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1391128}
  • Loading branch information
tcaptan-cr authored and chromium-wpt-export-bot committed Dec 3, 2024
1 parent 319c660 commit 512608f
Showing 1 changed file with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS ::select-arrow Pseudo-Element Test</title>
<title>CSS ::picker-icon 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 ::select-arrow pseudo element selector." />
<meta name="assert" content="This test checks the validity of the ::picker-icon 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("::select-arrow");
test_valid_selector("*::select-arrow", "::select-arrow");
test_valid_selector("foo.bar[baz]::select-arrow");
test_invalid_selector("::select-arrow *");
test_valid_selector("::picker-icon");
test_valid_selector("*::picker-icon", "::picker-icon");
test_valid_selector("foo.bar[baz]::picker-icon");
test_invalid_selector("::picker-icon *");

// Combinations
test_invalid_selector("::select-arrow::select-arrow");
test_invalid_selector("::picker-icon::picker-icon");

test_invalid_selector("::before::select-arrow");
test_invalid_selector("::after::select-arrow");
test_invalid_selector("::marker::select-arrow");
test_invalid_selector("::placeholder::select-arrow");
test_invalid_selector("::before::picker-icon");
test_invalid_selector("::after::picker-icon");
test_invalid_selector("::marker::picker-icon");
test_invalid_selector("::placeholder::picker-icon");

test_invalid_selector("::select-arrow::before");
test_invalid_selector("::select-arrow::after");
test_valid_selector("::select-arrow::marker");
test_invalid_selector("::select-arrow::placeholder");
test_invalid_selector("::picker-icon::before");
test_invalid_selector("::picker-icon::after");
test_valid_selector("::picker-icon::marker");
test_invalid_selector("::picker-icon::placeholder");

test_invalid_selector("::slotted(*)::select-arrow::slotted(*)");
test_valid_selector("::slotted(*)::select-arrow");
test_invalid_selector("::slotted(*)::picker-icon::slotted(*)");
test_valid_selector("::slotted(*)::picker-icon");

test_valid_selector("::part(foo)::select-arrow");
test_valid_selector("::part(foo)::picker-icon");
</script>

0 comments on commit 512608f

Please sign in to comment.