Re: [csswg-drafts] [css-variables] Insert empty comments during serialization to separate adjacent tokens (#7328)

Well, that section in css-syntax seems to assume this will only happen if there was a comment in the first place.

> For any consecutive pair of tokens, if [...] the pair of tokens must be serialized with a comment between them.
> If the tokenizer preserves comments, the preserved comment should be used

What "preserved comment" if I just used `--b:var(--a)b`?

The section should take `var()` into account, and css-variables should have a note or something.

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


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

Received on Saturday, 18 June 2022 08:37:12 UTC