- From: Chris Lilley via GitHub <sysbot+gh@w3.org>
- Date: Tue, 18 Jan 2022 13:52:38 +0000
- To: public-css-archive@w3.org
So to rewrite the previous examples using the proposed syntax:
Checking an **at-rule**
```css
@supports (@page) {
// woohoo we have pages
}
```
Checking a **descriptor** in a specific at-rule
```css
@supports (@font-face{ src; }) {
// yay webfonts
}
```
Checking a **descriptor value** in a specific at-rule
```css
@supports (@font-palette-values{ base-palette: 1; }) {
// yay stylable color webfonts
}
```
Checking **nested at-rules** (worry about writing this grammar)
```css
@supports (@supports (@font-palette-values{ base-palette: 1; })) {
// yay pointless recursion
}
```
--
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2463#issuecomment-1015432181 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 18 January 2022 13:52:39 UTC