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

Re: [css3-syntax] Consumation of comment tokens during tree construction

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Mon, 28 Jan 2013 09:42:03 +0100
Message-ID: <510639DB.7050707@kozea.fr>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Peter Moulder <peter.moulder@monash.edu>, www-style list <www-style@w3.org>
Le 28/01/2013 08:54, Tab Atkins Jr. a écrit :
>>> One possible answer is that it's the job of the serializer to insert a
>>> >>comment token if asked to serialize the sequence DIMENSION IDENT, whether
>>> >>or not we strip out comment tokens.
>> >
>> >I'm thinking of going this way.  The list of preserved tokens is small
>> >and should rarely grow, so it's easy to plot out the handful of
>> >problematic cases that need a comment inserted between them if there's
>> >no whitespace.  I think it's just:
>> >
>> >hash or at-rule followed by number, ident, dimension, or a function.
>> >number, ident, and dimension in any combination.
>> >number, ident, or dimension followed by a function.
>> >ident followed by (.
> Done.  I might still be missing some of the delim cases, and I'm going
> to try and trim down some of the existing ones.

There is one instance of "at-rule token". Should be "at-keyword token".

Simon Sapin
Received on Monday, 28 January 2013 08:42:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:25 UTC