Re: [csswg-drafts] [css-ui] Pseudo-element for select's UA button (#10717)

I'm starting to think that it might be better to remove the fallback UA `<button>` element entirely and replace it with a text node or a div containing text, which is more like how appearance:auto works.

We would then have to do some other fixes though:
- Add custom logic to make `<select>` itself have popover invoking behavior for the `<datalist>`, but only if there is not an author-provided `<button>`.
- Remove the fallback text node or div from the layout tree when there is an author-provided `<button>`.
- Possibly more changes related to focus based on whether there is an author-provided `<button>` present?

With this in mind, I like your display:contents idea more. Thanks for the suggestion! I'll try implementing it and see what happens.

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


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

Received on Monday, 12 August 2024 21:09:15 UTC