Re: [csswg-drafts] [css-forms-1] Should `appearance: base-select` work on listbox selects? (`<select size>`/`<select multiple>`) (#12468)

It seems we have consensus **not** to add a new value.
So the question of how do authors switch between these two drastically different display modes in a way that is not coupled to other characteristics (multipleness, element height, etc) is still open.

HTML doesn't provide a good way to do it (see https://github.com/whatwg/html/issues/11452 for some discussion on that). @keithamus's exploration above shows that CSS can't do it either.
@josepharhar has some ideas on paving the cowpaths and making `size` the switch, but it is pending web compat research.
Perhaps one thing to decide is: is it desirable to be able to switch via CSS? (e.g. to handle different media types differently) If so, we can discuss what's the best way to enable that.

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12468#issuecomment-3103250104 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 22 July 2025 15:06:21 UTC