[csswg-drafts] Pull Request: [css-mixins-1] Do not allow @mixin rules as nested group rules

andruud has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [css-mixins-1] Do not allow @mixin rules as nested group rules ==
We currently say that "any at-rule whose body contains style rules" can be nested group rules, which strictly covers `@mixin` as well. However, this obviously doesn't make sense for mixins: the relevant parent comes from the `@apply` rule invoking it, not from the place where the `@mixin` rule is defined.


See https://github.com/w3c/csswg-drafts/pull/13038


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

Received on Wednesday, 29 October 2025 14:35:33 UTC