Re: [csswg-drafts] [css-mixins-1] A var()-based model for mixin parameters (#12927)

> do parameters/locals get a hygenic name per mixin, or per apply-site callstack?

Per apply-site, as the renaming is performed as part of resolving an `@apply`.

So yes, in the modified version of your example, the inner divs will be red and green, since their `color` property sees the unique argument with red/green values.

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


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

Received on Friday, 6 March 2026 20:36:05 UTC