W3C home > Mailing lists > Public > www-style@w3.org > June 2013

[css3-cascade] @import syntax

From: Simon Sapin <simon.sapin@exyr.org>
Date: Sat, 08 Jun 2013 11:24:33 +0900
Message-ID: <51B295E0.2000409@exyr.org>
To: www-style@w3.org

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:30 UTC