Currently there is a footgun where if authors need to remember to use :open if they want to set a different display value on a customizable select, otherwise the select is always open, just laid out badly (testcase)
Are there any use cases for having a display value other than none on pickers of closed selects? Now that we can animate from display: none, I can't think of any.
If not, I propose adding this to the UA stylesheet:
select:not(:open)::picker(select) {
display: none !important;
}
This does not appear to negatively affect listbox selects, since they have no picker.
Currently there is a footgun where if authors need to remember to use
:openif they want to set a differentdisplayvalue on a customizable select, otherwise the select is always open, just laid out badly (testcase)Are there any use cases for having a
displayvalue other thannoneon pickers of closed selects? Now that we can animate fromdisplay: none, I can't think of any.If not, I propose adding this to the UA stylesheet:
This does not appear to negatively affect listbox selects, since they have no picker.