File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -135,11 +135,13 @@ Importing Style Sheets: the ''@import'' rule</h2>
135
135
or else the ''@import'' rule is invalid.
136
136
The syntax of ''@import'' is:
137
137
138
- <pre class='prod'>
138
+ <pre class='prod'>
139
139
@import [ <<url>> | <<string>> ]
140
140
[ layer | layer(<<layer-name>> ) ]?
141
- [ supports( [ <<supports-condition>> | <<declaration>> ] ) ]?
142
- <<media-query-list>> ? ;</pre>
141
+ <<import-condition>> ;
142
+
143
+ <dfn export><import-condition></dfn> = [ supports( [ <<supports-condition>> | <<declaration>> ] ) ]?
144
+ <<media-query-list>> ? ;</pre>
143
145
144
146
where:
145
147
@@ -157,9 +159,8 @@ Importing Style Sheets: the ''@import'' rule</h2>
157
159
(just as if declared by an ''@layer'' rule wrapped
158
160
in the appropriate [=conditional group rules=] ).
159
161
160
- * the optional [<<supports-condition>>|<<declaration>>] and <<media-query-list>>
161
- (collectively, the <dfn export>import conditions</dfn> )
162
- state the conditions under which it applies.
162
+ * the optional <<import-condition>>
163
+ states the conditions under which it applies.
163
164
164
165
<div class="example">
165
166
The following <a href="#conditional-import">conditional <css>@import</css> rule</a>
You can’t perform that action at this time.
0 commit comments