Skip to content

Commit 5c13022

Browse files
committed
[css-cascade][editorial] Don't globally define productions in the @import definition.
1 parent 9ec8961 commit 5c13022

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

css-cascade-4/Overview.bs

+3-3
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,11 @@ Conditional ''@import'' Rules</h3>
224224
</pre>
225225
</div>
226226

227-
A <dfn><<media-query>></dfn> corresponds to the <code>media_query_list</code> production
227+
A <dfn noexport for="@import"><<media-query>></dfn> corresponds to the <code>media_query_list</code> production
228228
and is interpreted as a <a>media query</a>,
229-
and a <dfn><<supports-condition>></dfn> corresponds to a <code>supports_condition</code> production
229+
and a <dfn noexport for="@import"><<supports-condition>></dfn> corresponds to a <code>supports_condition</code> production
230230
and is interpreted as an ''@supports'' condition.
231-
If a <dfn><<declaration>></dfn> (a <code>declaration</code> production) is given in place of a <<supports-condition>>,
231+
If a <dfn noexport for="@import"><<declaration>></dfn> (a <code>declaration</code> production) is given in place of a <<supports-condition>>,
232232
it must be interpreted as a <code>supports_declaration_condition</code> production
233233
(i.e. the extra set of parentheses is implied)
234234
and treated as a <<supports-condition>>.

css-cascade-5/Overview.bs

+3-3
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,11 @@ Conditional ''@import'' Rules</h3>
222222
</pre>
223223
</div>
224224

225-
A <dfn><<media-query>></dfn> corresponds to the <code>media_query_list</code> production
225+
A <dfn noexport for="@import"><<media-query>></dfn> corresponds to the <code>media_query_list</code> production
226226
and is interpreted as a <a>media query</a>,
227-
and a <dfn><<supports-condition>></dfn> corresponds to a <code>supports_condition</code> production
227+
and a <dfn noexport for="@import"><<supports-condition>></dfn> corresponds to a <code>supports_condition</code> production
228228
and is interpreted as an ''@supports'' condition.
229-
If a <dfn><<declaration>></dfn> (a <code>declaration</code> production) is given in place of a <<supports-condition>>,
229+
If a <dfn noexport for="@import"><<declaration>></dfn> (a <code>declaration</code> production) is given in place of a <<supports-condition>>,
230230
it must be interpreted as a <code>supports_declaration_condition</code> production
231231
(i.e. the extra set of parentheses is implied)
232232
and treated as a <<supports-condition>>.

0 commit comments

Comments
 (0)