- From: Tab Atkins Jr. via GitHub <noreply@w3.org>
- Date: Thu, 28 Aug 2025 19:50:06 +0000
- To: public-css-archive@w3.org
Correct, per the current spec, lexical scoping would prevent `--one()`'s body from seeing the `@env --color` defined in `--two()`'s body. I'm not *opposed* to the scoping being post-substitution, though. That would enable some use-cases, like what you give, or passing a @contents block that will use the mixin to define some `env()`s in it. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12677#issuecomment-3234748714 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 28 August 2025 19:50:06 UTC