Re: [csswg-drafts] [css-values-5] `var()` fallback containing a positioned `{}` (#12625)

@tabatkins I am late but thank you.

Could you also clarify whether the requirement below should apply to `var()` regardless of back-compat?

  > Functional notations are serialized without {} wrappers whenever possible.

I.e. should `var(--custom, {foo, bar})` serialize to `var(--custom, foo, bar)`, while `var(--custom, {{} foo})` should serialize as specified?

The {} block is said to *represent* its contents, and I do not see it being extracted in [substitute arbitrary functions](https://drafts.csswg.org/css-values-5/#substitute-arbitrary-substitution-function), so I guess it is no longer present after parsing.

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


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

Received on Saturday, 4 April 2026 09:32:23 UTC