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

> But that means we cannot for instance have consistent sizing and theming for appearance:base controls, can we?


That’s correct. The user agent style sheet rules will have to be the same for all values of `appearance` (though we do have some flexibility to choose the rules for children of the select element without compat risk).

> Because whenever any of that would clash with none it would not be okay?

Right.

> I thought the idea with base was that we'd have a "web native" consistent look & feel across form controls.

That was the original plan, but I concluded that it’s not implementable due to the circularity / double-style recalc / needing bespoke style engine hacks problems mentioned earlier.

I think that’s acceptable, because developers likely want to add their own customizations anyway in this mode, and it’s simple because there are only four CSS properties to override (`border`, `border-radius`, `display` and `background-color`).


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


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

Received on Tuesday, 12 March 2024 00:03:51 UTC