Re: [css-syntax] when to insert "/**/"

On Mon, Sep 9, 2013 at 7:39 PM, Cameron McCormack <cam@mcc.id.au> wrote:
> The Serialization section of css-syntax says:
>
>   If the implementation does not preserve comments, it must insert the
>   text "/**/" between the serialization of adjacent tokens when the two
>   tokens are of the following pairs: ...
>
> An implementation can preserve comments yet still need to insert "/**/" in
> places, for example with:
>
>   p { var-a:/*a*/1; var-b:var(a)2; }
>
> where the serialization of the computed value of 'var-a' on a <p> would be
> "/*a*/1/**/2".

Hmm, good point!  Okay, I'll amend the description to not imply it's
only needed if you drop comments, and just add  your example.

~TJ

Received on Wednesday, 11 September 2013 10:13:13 UTC