- From: Steve Orvell via GitHub <noreply@w3.org>
- Date: Thu, 23 Oct 2025 13:26:40 +0000
- To: public-css-archive@w3.org
Shadow DOM introduces scoping but shouldn't influence ordering. The scoping of mixing should hopefully be able to follow the rules defined for naming across scopes: https://drafts.csswg.org/css-scoping-1/#shadow-names
Therefore the case [here](https://github.com/w3c/csswg-drafts/issues/12671#issuecomment-3233455422) should do the same as this:
```html
<style>
@mixin --m() {
--x: 1;
}
</style>
<style>
#inner {
@apply --m(); /* --x? */
}
</style>
<div id=inner></div>
<style>
@mixin --m() {
--x: 2;
}
</style>
```
--
GitHub Notification of comment by sorvell
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12671#issuecomment-3436985575 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 23 October 2025 13:26:41 UTC