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

> 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.

Personally, I quite liked your suggestion on https://github.com/whatwg/html/issues/11452 for a `type` attribute to switch between the two. For two reasons:

1. Even without CSS, I think authors should be able to switch between the native multiple-choice dropdown UI and the native in-page multi-select UI
2. If it was only possible to change how the select is presented in CSS, that seems consistent with how you might otherwise change inputs in HTML. For example, the WHATWG recently agreed to add a `switch` attribute to `input type="checkbox"` so that the author can change its appearance to use a switch control. No one suggested that should be switched (pun not intended) in CSS.

-- 
GitHub Notification of comment by JoshTumath
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12468#issuecomment-3103682874 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 16:27:15 UTC