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

@Crissov 
> However, since macros never take an argument, I believe authors should not be allowed to call them in @apply with parentheses! It then makes it simpler if mixins always required the parentheses, even if no argument was passed.

The fact that Mixins *don't* require parens (if you want to call them with no args) is precisely why I allowed macros to be called *with* empty parens. I think the Mixin behavior is reasonable (it's copied from Sass), and we should be consistent between the two.

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


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

Received on Thursday, 5 March 2026 21:58:26 UTC