- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Wed, 25 Sep 2024 15:56:46 +0000
- To: public-css-archive@w3.org
> I don't think [arbitrary substitution functions](https://drafts.csswg.org/css-variables/#arbitrary-substitution) should be allowed to mess with the grammar of the calling function itself, just like you're not allowed to paste e.g. a fallback into another var(): --fb:, myfallback; --y: var(--x var(--fb)) /* invalid */. Oh, hm, you're probably right actually. You indeed can't sub in arbitrary grammar like that, since var() is *actually* parsed while its surrounding context is left as unparsed tokens. I'll need to give this a little thought. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9539#issuecomment-2374488601 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 25 September 2024 15:56:48 UTC