[css3-mediaqueries] contradictions about empty lists

http://dev.w3.org/csswg/css3-mediaqueries/#media0 says:
  # If the comma-separated list is the empty list it is assumed to
  # specify the media query ‘all’. 

But http://dev.w3.org/csswg/css3-mediaqueries/#syntax defines the
syntax of media_query_list to forbid the empty list.

This seems like a contradiction.  Is the empty list allowed or

Note that I think the wording about the empty list being equivalent
to 'all' should apply to the media attributes of HTML style and link
elements: see http://dbaron.org/css/test/2008/empty-media-attribute ,
which assumes that the #syntax section is correct.  It doesn't
matter for @import since the media list there is optional per
http://www.w3.org/TR/CSS21/cascade.html#at-import .  But I'm not
sure if we want to allow empty lists for @media.  Maybe it's ok,


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

Received on Thursday, 19 June 2008 23:09:31 UTC