[csswg-drafts] [css-typed-om] Should `serialize a CSSVariableReferenceValue` append a space when appending a fallback value? (#12559)

johannesodland has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-typed-om] Should `serialize a CSSVariableReferenceValue` append a space when appending a fallback value? ==
Step 3 of [`serialize a CSSVariableReferenceValue`](https://drafts.css-houdini.org/css-typed-om/#serialize-a-cssvariablereferencevalue) appends a comma _and a space_ before appending the serialized fallback.
> If this’s [fallback](https://drafts.css-houdini.org/css-typed-om/#dom-cssvariablereferencevalue-fallback) internal slot is not null, append ", " to s, then serialize the [fallback](https://drafts.css-houdini.org/css-typed-om/#dom-cssvariablereferencevalue-fallback) internal slot and append it to s.

This is in contrast with implementations and tests (WebKit, Blink and WPT) that expects only a comma to be appended.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12559 using your GitHub account


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

Received on Friday, 1 August 2025 11:23:07 UTC