W3C home > Mailing lists > Public > www-style@w3.org > October 2012

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

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Thu, 04 Oct 2012 00:49:40 +0200
Message-ID: <506CC104.6000200@kozea.fr>
To: www-style@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT