W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2012

[css3-mediaqueries] Whitspace: "all and(color)" vs. "all and (color)"

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Wed, 03 Oct 2012 23:16:06 +0200
Message-ID: <506CAB16.6020905@kozea.fr>
To: public-css-testsuite@w3.org

Example 20 of css3-mediaqueries gives this as an invalid media query:

     @media all and(color) {  }

'and(' is tokenized as a FUNCTION, so there should be some white space: 
'and ('

The test suite[1] does not test such cases but it should, since at least 
one implementation (Chromium 22) incorrectly parses this as a valid 
media query.


Simon Sapin
Received on Wednesday, 3 October 2012 21:17:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:18 UTC