Re: [csswg-drafts] [css-values] String concatentation

I'm strongly against the proposal to just make adjacent `<string>` values auto-concat; it clashes with existing grammars, restricts our ability to design reasonable grammars in the future, and this ability in 'content' isn't well-known anyway.

I'm supportive of `concat()` or `string()`.  Having it auto-coerce things also seems fine to me, with the understanding that it'll use some well-defined notion of serialization, rather than necessarily preserving the exact input from the author.

(That is, `string(1.0)` might resolve to `"1"`.)

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

Received on Monday, 16 April 2018 19:46:55 UTC