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

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

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 31 Jul 2009 17:26:12 +0200
To: Øyvind Stenhaug <oyvinds@opera.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.uxxuhyue64w2qv@annevk-t60>
On Wed, 29 Jul 2009 17:27:33 +0200, Øyvind Stenhaug <oyvinds@opera.com> wrote:
> 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."

Nice catch! Fixed per your suggestion.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Friday, 31 July 2009 15:27:00 GMT

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