Re: [csswg-drafts] [cssom][css-variables] Whitespaces in serialization of custom property value and value with variable reference

> As of whether continuous whitespaces should be collapsed into one, I don't have strong opinion on. It seems to me collapsing them would add an unnecessary pass for us, I tend to not do that. But I'm open to collapsing behavior or making it unspecified explicitly.

The Syntax spec elides information of how many and what types of whitespace characters were parsed; it just emits a whitespace token to represent a run of whitespace. Like with comments, you're allowed to remember exactly what the whitespace was, but you're not required to; you can serialize whitespace tokens out as a single space if you want.

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

Received on Tuesday, 23 May 2017 08:10:22 UTC