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

I get the reasoning of not using CSS for DOM building, but I think the end result of doing an attribute is that instead of doing this:

```
* { appearance: base; /* etc. */ }
```
Authors will just do this instead:

```
*[base]:base { /* etc. */ }
```

And if they have control over the HTML, they will add the base attribute to every form element whether it is currently supported or not. 

And those without control over the HTML won't be able to take advantage of this feature. 

I'd still rather have just a pseudo be the switch for whether or not to use the alternate DOM, when it is supported on that element. 

Sorry I missed the meeting. It sounds like it was a very interesting conversation. 

-- 
GitHub Notification of comment by bradkemper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5998#issuecomment-816749775 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 15:06:38 UTC