Re: [css-variables] Comments in custom property declaration value

On Tue, May 21, 2013 at 10:41 PM, Simon Sapin <simon.sapin@exyr.org> wrote:
> What happens if a custom property declaration contains a CSS comment in the
> value? Obviously this should be valid, but is the comment preserved when the
> value is serialized in CSSOM?
>
> I think that comments should not be preserved, and that this should be
> specified normatively.

Syntax already specifies this, by virtue of never creating comment
tokens (but allowing implementations to remember their contents and
locations).

~TJ

Received on Wednesday, 22 May 2013 06:41:32 UTC