[css3-cascade] @import syntax


I think that the section for @import should have a formal definition of 
the syntax. Something like:

     <import-rule> = @import [ <string> | <url> ] <media-query-list>;

     Note: <media-query-list>, defined in [[MEDIAQ]], can be empty.

This is the style of grammar defined in Syntax[1] based on Values & Unit 
constructs, but could just as well be in the style used eg. by 
Conditional Rules.

[1] http://dev.w3.org/csswg/css-syntax/#rule-defs

Simon Sapin

Received on Saturday, 8 June 2013 02:24:58 UTC