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

[css3-mediaqueries] 'not' and unknown media types (wording)

From: Řyvind Stenhaug <oyvinds@opera.com>
Date: Wed, 29 Jul 2009 17:27:33 +0200
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.uxt477v5ru61ud@oyvinds-desktop>
Nitpick on section 3.1, first list item:

"Unknown media types evaluate to false, unless negated by the 'not'  
keyword, in which case they evaluate to true. Effectively, they are  
treated identically to known media types that do not match the media type  
of the device."

A "media type" (as the term is used elsewhere in the spec) does not  
include the 'not' keyword (which negates the entire media query), and  
strictly speaking it's not clear from the above wording that you have to  
forget about the 'not' keyword after you "evaluate [the media type] to  
true". Suggest dropping the second part of the first sentence:

"Unknown media types evaluate to false. Effectively, they are treated  
identically to known media types that do not match the media type of the  
device."

-- 
Řyvind Stenhaug
Core Norway, Opera Software ASA
Received on Wednesday, 29 July 2009 15:28:13 GMT

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