- From: Guillaume via GitHub <noreply@w3.org>
- Date: Sat, 15 Nov 2025 03:47:52 +0000
- To: public-css-archive@w3.org
Never mind, > Because the argument grammar of `var()` does not allow `var(--fallback)` to appear where it does? > > ``` > color: var(--color var(--fallback)); /* invalid */ > ^ > ``` > > The argument grammar being: > > ``` > <var-args> = var( <declaration-value> , <declaration-value>? ) > ^ > ``` > > We _only_ expect a comma here, and `var(` is not a comma token. @andruud We expect nothing here, since `--color var(--fallback)` matches the first `<declaration-value>`. `, <declaration-value>?` is entirely optional and omitted. This arbitrary substitution containing value is IACVT. Sorry for this confusion. -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13083#issuecomment-3535550965 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 15 November 2025 03:47:52 UTC