Re: [csswg-drafts] [css-forms-1] UA styles for base appearance listbox select elements (#12510)

The CSS Working Group just discussed `[css-forms-1] UA styles for base appearance listbox select elements`, and agreed to the following:

* `RESOLVED: with base appearance and no size attribute, the select element will be sized to fit its contents`

<details><summary>The full IRC log of that discussion</summary>
&lt;masonf> astearns: no change gives us the height of the content result. Is that what's currently spec'd?<br>
&lt;masonf> jarhar: html says height of select multiple without size is "4".<br>
&lt;masonf> ...UA styles that I proposed 2 weeks ago size defaults to 4 in calculating height. Other one from an hour ago: put an attr selector so it grows to fit contents.<br>
&lt;masonf> astearns: don't fall back to 4?<br>
&lt;masonf> jarhar: yes, I think that's what Tim requested.<br>
&lt;masonf> astearns: Simon, you're ok with sizing to contents, given small usage of multi-select and appearance:base<br>
&lt;masonf> zcorpan: yes. Usage of appearance:base doesn't matter. But select-multiple is low regardless.<br>
&lt;masonf> astearns: Elika you're suggesting to leave things as they are, given we're adding size selector, and if no size attr, size to contents?<br>
&lt;masonf> fantasai: yeah<br>
&lt;masonf> astearns: sound ok to everyone?<br>
&lt;fantasai> PROPOSED: If no size attribute, &lt;select multiple> has no fixed height.<br>
&lt;masonf> annevk: only the latter bit, right?<br>
&lt;zcorpan> https://chromestatus.com/metrics/feature/timeline/popularity/2857 ?<br>
&lt;masonf> astearns: intent is that with base appearance and no size attribute, multi-select sizes to fit its contents.<br>
&lt;jarhar> proposed resolution: with base appearance and no size attribute, the select element will be sized to fit its contents<br>
&lt;masonf> RESOLVED: with base appearance and no size attribute, the select element will be sized to fit its contents<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12510#issuecomment-3411480438 using your GitHub account


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

Received on Thursday, 16 October 2025 15:33:52 UTC