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: Fri, 23 Apr 2010 16:57:54 -0700
To: Anne van Kesteren <annevk@opera.com>
Cc: www-style list <www-style@w3.org>, Sylvain Galineau <sylvaing@microsoft.com>
Message-ID: <20100423235754.GA23665@pickering.dbaron.org>
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


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Friday, 23 April 2010 23:58:36 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:34 UTC