Skip to content

Commit

Permalink
Rename ::select-fallback-datalist to ::picker(select)
Browse files Browse the repository at this point in the history
This was resolved here:
w3c/csswg-drafts#10758 (comment)

Fixed: 361562102
Change-Id: I38e8c552049b45704c1ee50db45e3300041ff1a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5817433
Reviewed-by: David Baron <dbaron@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1349454}
  • Loading branch information
josepharhar authored and chromium-wpt-export-bot committed Aug 30, 2024
1 parent a6745d2 commit 078a8e9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
appearance: base-select;
}

select::select-fallback-datalist {
select::picker(select) {
transition-behavior: allow-discrete;
transition-duration: 100s;
transition-property: display, overlay, opacity, color;
Expand All @@ -21,12 +21,12 @@
color: black;
}

select::select-fallback-datalist:popover-open {
select::picker(select):popover-open {
opacity: 1;
color: rgb(200, 0, 0);
}
@starting-style {
select::select-fallback-datalist:popover-open {
select::picker(select):popover-open {
opacity: 0;
color: black;
}
Expand Down Expand Up @@ -54,5 +54,5 @@
await new Promise(requestAnimationFrame);
assert_equals(getComputedStyle(firstOption).color, 'rgb(100, 0, 0)',
'option color should start animating when opening the picker.');
}, 'select::select-fallback-datalist should support author provided top layer animations.');
}, 'select::picker(select) should support author provided top layer animations.');
</script>

0 comments on commit 078a8e9

Please sign in to comment.