W3C home > Mailing lists > Public > www-style@w3.org > May 2013

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 21 May 2013 23:40:45 -0700
Message-ID: <CAAWBYDASB6X3EEgv-T4dyyoxRtNnnecN8FgaUQzxBYefWjFioA@mail.gmail.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: www-style list <www-style@w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 22 May 2013 06:41:33 UTC