W3C home > Mailing lists > Public > www-style@w3.org > March 1999

Re: Incomplete CSS2 grammar specification?

From: Ian Hickson <py8ieh=on-holiday@bath.ac.uk>
Date: Mon, 29 Mar 1999 15:37:45 -0500 (EST)
Message-ID: <00df01be7a24$174287c0$bf20268a@hpxu>
To: david@steadystate.co.uk, WWW-Style <www-style@w3.org>
Cc: Ian Hickson <py8ieh=fcc@bath.ac.uk>
> The CSS2 grammar specification defines the following production:
>
> media
> : MEDIA_SYM S* medium [ ',' S* medium ]* '{' S* ruleset* '}' S*
> ;
>
> Yet my understanding from the spec is that "@media" can also
> contain "at keywords" [...].

This is the source of some confusion. Briefly, the spec's text is generally
silent about whether @rules are allowed in @media, and while everyone first
assumes that they are, as you point out the grammar says they are not. This
will most likely be relaxed in CSS3.

This is listed on the www-style past suggestions list, under "open issues":
   http://www.bath.ac.uk/%7Epy8ieh/internet/wwwstyle.html

--
Ian Hickson
Received on Monday, 29 March 1999 16:01:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:58 GMT