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

andruud has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-conditional] Nested at-rules within at-rule() ==
Some at-rules are only valid within a certain _other_ at-rule, e.g. margin rules within [@page](https://drafts.csswg.org/css-page/#syntax-page-selector), or `@swash` (etc) within [@font-feature-values](https://drafts.csswg.org/css-fonts/#font-feature-values-syntax).

So, how do these evaluate?

```
@supports at-rule(@swash) {}
@supports at-rule(@top-left) {}
```

It seems unwise to just _ignore_ context, since a given `@foo` may be specified to exist in more than one context, with different meanings (and possibly different descriptors being valid).

This was discussed during https://github.com/w3c/csswg-drafts/issues/2463, but I don't see a conclusion.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11117 using your GitHub account


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

Received on Wednesday, 30 October 2024 22:01:28 UTC