- From: Joey Arhar via GitHub <noreply@w3.org>
- Date: Fri, 19 Sep 2025 22:23:19 +0000
- To: public-css-archive@w3.org
I think we have three options: 1. Ignore the size attribute and make the listbox indefinitely tall (no height set) 2. Ignore the size attribute and make the listbox have a fixed height with an approximation of four options: `calc(max(24px, 1lh) * 4)`; 3. Use the size attribute and multiply it by an approximation of option height: `calc(max(24px, 1lh) * attr(size type(<integer>), 4)` - The `attr(size type(<integer>), 4)` likely doesn't match how the HTML spec calculates the size attribute, so in order to make it match this might have to be done with something special in the implementation rather than just CSS. Does anyone have opinions? I'm leaning towards options 1 or 2 -- GitHub Notification of comment by josepharhar Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12510#issuecomment-3314016143 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 19 September 2025 22:23:19 UTC