W3C home > Mailing lists > Public > www-style@w3.org > August 2007

Re: [css3-mediaquery] Clarification of 'not'

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 22 Aug 2007 10:38:20 -0400
Message-ID: <46CC4A5C.7080607@inkedblade.net>
To: Håkon Wium Lie <howcome@opera.com>
CC: Stewart Brodie <stewart.brodie@antplc.com>, www-style@w3.org

Håkon Wium Lie wrote:
> Also sprach Stewart Brodie:
> 
>  > 'not' and unknown media types:
>  > 
>  > Section 3 says: "The presence of the keyword 'not' at the beginning of the
>  > query negates the results."  Section 4 says: "Media queries involving
>  > unknown media types are always false".
>  > 
>  > When I read that, the word 'always' led me to wonder whether or not unknown
>  > media types trump the section 3 definition of 'not'.  I suggest the
>  > following clarifications:
>  > 
>  > 1) remove the word "always" from the section 4 statement
>  > 2) Add an example showing that the following media query is true:
>  > 
>  >      @media not 3d-glasses { ... }
> 
> Good idea. 

I think it's a terrible idea. @media not 3d-glasses should be false.
We don't *know* whether this device would match a future 3d-glasses
query or not.

~fantasai
Received on Wednesday, 22 August 2007 14:38:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:52 GMT