Re: [csswg-drafts] [css3-conditional] Should CSS.supports() accept properties which are only valid in certain rules? (#5929)

What @tabatkins says applies to the current syntax of property checks, though what about introducing a new syntax that includes the at-rule in the condition? I.e. something like this for example:

```css
@supports (@page { size: 10cm; }) {
...
}
```

That would work like the existing parsing checks for properties and selectors, so no new logic here. It only requires to extend the syntax of `@supports` to take at-rules.

Sebastian

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


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

Received on Saturday, 6 February 2021 13:13:30 UTC