File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,15 +125,23 @@ Importing Style Sheets: the ''@import'' rule</h2>
125125
126126 <pre class='prod'>
127127 @import [ <<url>> | <<string>> ]
128- [ layer(<<layer-ident>> ? ) ]?
128+ [ layer | layer (<<layer-ident>> ) ]?
129129 [ supports( [ <<supports-condition>> | <<declaration>> ] ) ]?
130130 <<media-query-list>> ? ;</pre>
131131
132- where the <<url>> or <<string>> gives the URL of the style sheet to be imported,
133- the optional <<layer-ident>> assigns imported rules to the indicated [=cascade layer=] ,
134- and the optional [<<supports-condition>>|<<declaration>>] and <<media-query-list>>
135- (collectively, the <dfn export>import conditions</dfn> )
136- state the conditions under which it applies.
132+ where:
133+
134+ * the <<url>> or <<string>>
135+ gives the URL of the style sheet to be imported.
136+
137+ * the optional ''layer'' keyword or ''layer()'' function
138+ assigns the contents of the style sheet
139+ into its own anonymous [=cascade layer=]
140+ or into the named [=cascade layer=] .
141+
142+ * the optional [<<supports-condition>>|<<declaration>>] and <<media-query-list>>
143+ (collectively, the <dfn export>import conditions</dfn> )
144+ state the conditions under which it applies.
137145
138146 <div class="example">
139147 The following <a href="#conditional-import">conditional <css>@import</css> rule</a>
You can’t perform that action at this time.
0 commit comments