Re: [csswg-drafts] [css-conditional] Nested at-rules within at-rule() (#11117)

> I have not read all related discussions so I do not know the motivations for using `at-rule`, and that might not always be enough to fully define the context. But mirroring `CSS.supports()` seems nice.

- Motivation: Feature detect support for certain at-rules. See https://brm.us/at-rule for an intro.

- Mirroring `CSS.supports`: That is already the css. Doing `@supports at-rule(@starting-style)` in CSS is equivalent to `CSS.supports('at-rule(@starting-style)')` in JS — this is similar to `selector()` feature detection.

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


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

Received on Saturday, 2 November 2024 10:04:02 UTC