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

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.

The media queries spec used to have slightly more prose about this,
but it seems to be gone; see
http://lists.w3.org/Archives/Public/www-style/2008Jun/0218.html

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Friday, 23 April 2010 23:58:36 UTC