W3C home > Mailing lists > Public > www-style@w3.org > June 2009

[css3-mediaqueries] 'only'/'not' with omitted media type

From: Řyvind Stenhaug <oyvinds@opera.com>
Date: Fri, 12 Jun 2009 17:33:18 +0200
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.uve35setru61ud@oyvinds-desktop>
Some of the prose regarding 'not' and 'only' is inconsistent with the  
current syntax, e.g. this sentence from section 2:

"User agents must process media queries starting with 'only' as if the  
'only' keyword was not present."

@media only (color) { /* media query is dropped because the syntax  
requires a media type */ }
@media (color) { /* match, assuming a color device */ }

-- 
Řyvind Stenhaug
Core Norway, Opera Software ASA
Received on Friday, 12 June 2009 15:33:52 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:18 GMT