Re: [csswg-drafts] [css-ui] Changing UA styles based on the computed value of the appearance property (#10028)

I reviewed all of the UA styles for `<select>` as well as the ones desired for a stylable `<select>`. It turns out that we don't need to change style on the `<select>` element; we only need to style its child elements like the options, button or datalist. We can do that with new interoperable UA styles that always apply, even for existing usages of `<select>`, since existing `<select>` usage has no children that render via CSS.

Therefore "solution 3: leave the UA styles in there" will work fine and turns out to have no significant problem of poor ergonomics. And we can go with what Emilio suggested and all is well.

When the time comes to add stylability to other form controls, we can follow this pattern and just leave existing interoperable UA styles in place, and expect developers to add in their own customizations.

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


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

Received on Friday, 8 March 2024 19:03:06 UTC