Re: [csswg-drafts] [css-values-5] Arbitrary substitution function definition is ambiguous (#13083)

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. 

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


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

Received on Friday, 14 November 2025 07:49:53 UTC