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

On Wed, 09 Jan 2008 17:42:48 +0100, Håkon Wium Lie <howcome@opera.com>  
wrote:
> Also sprach fantasai:
>> 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.
>
> True. But we say that queries involving unknown media types should be
> false. E.g.:
>
>   @media 3d-glasses { ... }
>
> I assume we all agree that this should be false.
>
> Logically, it follows that "not false" is true.
>
> I think this is an edge case that will not cause much problems in real
> life. So I suggest we keep the spec as simple as possible and do not
> make exceptions in this case.

I agree with fantasai. The CSS statements @media not 3d-glasses { } or  
even @media not 3d-glasses,all { } are also dropped by media query aware  
user agents (such as Opera...).


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Wednesday, 9 January 2008 16:51:28 UTC