- From: Romain Menke via GitHub <sysbot+gh@w3.org>
- Date: Fri, 01 Nov 2024 18:59:18 +0000
- To: public-css-archive@w3.org
I like this and could see myself using this!
------
Makes me think that checking for support could also have a shorter syntax for common cases.
A `@support` rule without prelude could implicitly check for support of all features used somewhere within that block.
```css
h1 {
color: var(--color-primary);
@supports {
background: linear-gradient(...);
background-clip: text;
color: transparent;
}
}
```
But your proposal goes beyond simply checking for support so I agree that it then also should be a separate at rule :)
--
GitHub Notification of comment by romainmenke
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11142#issuecomment-2452426632 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 1 November 2024 18:59:19 UTC