- From: Tab Atkins Jr. via GitHub <noreply@w3.org>
- Date: Wed, 15 Oct 2025 15:49:07 +0000
- To: public-css-archive@w3.org
> +1 on being consistent. As arguments are currently defined, I think it makes most sense to determine whether the mixin uses an @contents in its body. And if it doesn't, @apply's having a block are invalid. That's one of the *inconsistent* behaviors I mentioned. ^_^ We don't determine whether a normal argument is valid based on whether it's used in the function/mixin body; we base it purely on the arglist. Basing it on the body means that you couldn't, say, temporarily simplify the mixin to debug something (removing the use of the content block), as that would mean you have to go back and change *all the call sites* too. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12946#issuecomment-3407131580 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 15 October 2025 15:49:08 UTC