Re: [mediaqueries4][css3-conditional] Whitespace: "and(" vs. "and ("

Le 04/10/2012 00:30, Tab Atkins Jr. a écrit :
> Whitespace is not actually required there.  The following is valid:
>
> @media all and/*wooo!*/(color) { ... }

Oh…

> 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.

-- 
Simon Sapin

Received on Wednesday, 3 October 2012 22:50:16 UTC