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

Re: [css3-mediaqueries] 'only'/'not' with omitted media type

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 24 Jul 2009 16:31:14 +0200
To: Øyvind Stenhaug <oyvinds@opera.com>, "L. David Baron" <dbaron@dbaron.org>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.uxktacmf64w2qv@annevk-t60>
On Fri, 24 Jul 2009 16:16:08 +0200, Øyvind Stenhaug <oyvinds@opera.com> wrote:
> The other case would be more interesting: "@media not (color)" as  
> syntactic sugar for "@media not all and (color)". But I assumed the  
> syntax section was intentional and that the prose just had remnants from  
> a previous version when media types were mandatory.

Correct. I'd like to postpone further enhancements to a future version. Suggestions for updates to the prose would be welcome though it will probably take a while before I integrate them. At this point the main priority is getting most browsers to pass all the tests so we can advance to the next stage somewhere at the end of this year.


>> In Gecko I implemented what the grammar says (i.e., dropping the
>> first media query you give above).
>
> Yes, Safari 4 does that too (and so does Opera's current internal  
> implementation).

Cool!


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Friday, 24 July 2009 14:32:04 GMT

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