Re: [csswg-drafts] [css-mixins-1] How is name lookup done? (#12670)

I think, from the author's perspective and having the “can't use before usage”, I would expect the `@apply --m1;` inside the `-m2()` to “freeze”: further definitions of `--m1` shouldn't impact what was already defined.

This can be important for any libraries/components that will have conflicting names and will use these mixins internally: if the top-level non-mixed mixins will not conflict and work “as intended”, the expectation will be that nested mixins will work the same.

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


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

Received on Wednesday, 12 November 2025 07:40:11 UTC