- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Thu, 04 Oct 2012 02:33:26 +0200
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: Simon Sapin <simon.sapin@kozea.fr>, www-style@w3.org
* Tab Atkins Jr. wrote: >On Wed, Oct 3, 2012 at 3:49 PM, Simon Sapin <simon.sapin@kozea.fr> wrote: >> Le 04/10/2012 00:30, Tab Atkins Jr. a écrit : >>> This is why, sadly, we need to preserve comments in the tokenizer. >> >> What do you mean by preserve? Even if the tokenizer eats comments, the >> tokens here should still be IDENT '(' rather then FUNCTION. > >If it eats comments, it doesn't know how to re-serialize unless it's >context-aware. (It can't just put whitespace between every token, >because that might change the meaning of e.g. a selector.) Not white space, but comments can be added like that. -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Received on Thursday, 4 October 2012 00:33:53 UTC