W3C home > Mailing lists > Public > www-style@w3.org > April 2010

Re: [css3-mediaqueries][cssom] Empty media queries in stylesheets and the DOM

From: L. David Baron <dbaron@dbaron.org>
Date: Sat, 24 Apr 2010 13:30:00 -0700
To: Anne van Kesteren <annevk@opera.com>
Cc: www-style list <www-style@w3.org>, Sylvain Galineau <sylvaing@microsoft.com>
Message-ID: <20100424203000.GA1558@pickering.dbaron.org>
On Friday 2010-04-23 16:57 -0700, L. David Baron wrote:
> On Friday 2010-04-16 14:04 +0900, Anne van Kesteren wrote:
> > On Thu, 15 Apr 2010 22:48:21 +0900, Sylvain Galineau
> > <sylvaing@microsoft.com> wrote:
> > >To be clear: you're saying that @media { ... } is invalid, right ? Thus
> > >WebKit treats it correctly  ?
> > 
> > I believe it is the plan to make that invalid yes, yes. Though
> > ultimately it depends on what the module that defines @media will
> > say about it.
> 
> For what it's worth, I vaguely remember a working group discussion
> to this effect:  that empty lists are valid according to the media
> queries spec (and equivalent to 'all'), but that the @media syntax
> doesn't allow the empty list form.

I found it:
http://lists.w3.org/Archives/Public/www-style/2009Aug/0128.html
(although the minutes aren't actually as detailed as what I said
above).

I have a patch in my tree implementing this, but I keep forgeting to
get it reviewed and landed.  So current Gecko accepts @media {}.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Saturday, 24 April 2010 20:30:42 GMT

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