- From: Jarek Foksa <jarek@kiwi-themes.com>
- Date: Mon, 28 Nov 2011 00:12:39 +0100
- To: www-style@w3.org
Oops, I haven't noticed the trailing ? sign. The grammar makes perfect sense.
On Sun, Nov 27, 2011 at 11:53 PM, Jarek Foksa <jarek@kiwi-themes.com> wrote:
> Example VII from latest revision of CSS3 Media Queries spec says that
> following two rules are equivalent:
>
> @media all {
}
> @media {
}
>
> However, the second rule does not follow the grammar as there must be
> at least one media_type or expression is media query:
>
> media_query
> : [ONLY | NOT]? S* media_type S* [ AND S* expression ]*
> | expression [ AND S* expression ]*
>
> So, is this an error in the grammar or should such rule be really
> treated as invalid by parsers?
>
> Cheers,
> Jarek Foksa
>
Received on Monday, 28 November 2011 08:36:50 UTC