- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Mon, 12 Feb 2024 21:48:09 +0000
- To: public-css-archive@w3.org
@FremyCompany
Given
```css
@mixin --foo(--arg1) using (--outer-var1) {
color: var(--arg1);
background: var(--outer-var1);
}
.foo { @apply --foo(var(--my-color)); }
```
you'd effectively expand to:
```css
.foo { color: var(--my-color); background: var(--outer-var1); }
```
(But i think substitution probably shouldn't be reflected in an author-observable way; the OM would just say the `.foo` rule has a `CSSApplyRule` child.)
--
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9350#issuecomment-1939644490 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 12 February 2024 21:48:12 UTC