Skip to content

Commit

Permalink
Bug 1934981 [wpt PR 49499] - Rename ::select-arrow to ::picker-icon, …
Browse files Browse the repository at this point in the history
…a=testonly

Automatic update from web-platform-tests
Rename ::select-arrow to ::picker-icon

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 <[email protected]>
Reviewed-by: Joey Arhar <[email protected]>
Commit-Queue: Traian Captan <[email protected]>
Reviewed-by: Aaron Leventhal <[email protected]>
Reviewed-by: Philip Rogers <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1391128}

--

wpt-commits: fd0d1917aba6a7445829c0d7056cba0c28c68bef
wpt-pr: 49499
  • Loading branch information
tcaptan-cr authored and moz-wptsync-bot committed Dec 10, 2024
1 parent 0d7f2e2 commit 8426dc5
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 8426dc5

Please sign in to comment.