Re: [csswg-drafts] [css-ui] appearance: base to enable interoperable styling of controls/components (#5998)

The reasons given for handling this as an attribute rather than in CSS (even though it is about presentation and otherwise would belong in CSS):

- DOM modifications that depend on CSS computed values are messy/difficult to implement
- We need to be able to style differently depending on whether the element is basic or not, and an attribute allows for selecting against that.
- An attribute is less likely to create the forwards-compatibility problem that rules like `* { appearance: base }` would create if only some form elements supported basic rendering and others didn't.


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


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

Received on Friday, 9 April 2021 00:01:51 UTC