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

#5998 is the other thread.

In particular what we're looking for here is a way whereby a new value of the `appearance` property impacts the backing style sheet of the element. It's acceptable if this mechanism only works for HTML form controls.

@nt1m conceptualized this idea as a user agent at-rule, e.g.,

```css
select {
  @appearance-base {
    border: thin solid ButtonBorder;
    ...
  }
}
```
(Conceptually this needs to be something like an at-rule as you might need to style various states as well.)

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


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

Received on Tuesday, 5 March 2024 08:54:58 UTC