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

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 UTC