W3C home > Mailing lists > Public > www-style@w3.org > January 2008

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

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 09 Jan 2008 17:54:13 +0100
To: Håkon Wium Lie <howcome@opera.com>, fantasai <fantasai.lists@inkedblade.net>
Cc: www-style@w3.org
Message-ID: <op.t4n88nf264w2qv@annevk-t60.oslo.opera.com>

On Wed, 09 Jan 2008 17:42:48 +0100, Håkon Wium Lie <howcome@opera.com>  
> 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
Received on Wednesday, 9 January 2008 16:51:28 GMT

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