- From: Simon Sapin <simon.sapin@exyr.org>
- Date: Wed, 11 Sep 2013 12:15:16 +0200
- To: Cameron McCormack <cam@mcc.id.au>
- CC: www-style list <www-style@w3.org>
Le 10/09/2013 04:39, Cameron McCormack a écrit :
> 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".
Good catch. I tweaked the wording to cover this case:
https://dvcs.w3.org/hg/csswg/rev/d74868104977
http://dev.w3.org/csswg/css-syntax/#serialization
Does this address the issue?
--
Simon Sapin
Received on Wednesday, 11 September 2013 10:15:41 UTC