Skip to content

Commit b568a7d

Browse files
committed
[css-cascade-4][css-cascade-5] Use updated grammar style for @import's mq and sq references.
1 parent 483574b commit b568a7d

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

css-cascade-4/Overview.bs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ spec:html; type:element; text:style
4444

4545
<pre class=ignored-specs>
4646
spec:mediaqueries-5
47-
spec:css-values-4
47+
spec:css-values-5
4848
</pre>
4949

5050
<style>
@@ -226,12 +226,11 @@ Conditional ''@import'' Rules</h3>
226226
</pre>
227227
</div>
228228

229-
A <dfn noexport for="@import"><<media-query>></dfn> corresponds to the <code>media_query_list</code> production
230-
and is interpreted as a <a>media query</a>,
231-
and a <dfn noexport for="@import"><<supports-condition>></dfn> corresponds to a <code>supports_condition</code> production
232-
and is interpreted as an ''@supports'' condition.
233-
If a <dfn noexport for="@import"><<declaration>></dfn> (a <code>declaration</code> production) is given in place of a <<supports-condition>>,
234-
it must be interpreted as a <code>supports_declaration_condition</code> production
229+
The [=import conditions=] are given by
230+
<<media-query-list>>, which is parsed and interpreted as a <a>media query list</a>,
231+
and <<supports-condition>>, is parsed and interpreted as a [[supports query]].
232+
If a <<declaration>> is given in place of a <<supports-condition>>,
233+
it must be interpreted as a <<supports-decl>>
235234
(i.e. the extra set of parentheses is implied)
236235
and treated as a <<supports-condition>>.
237236

css-cascade-5/Overview.bs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ spec:mediaqueries-4; type:type; text:<media-query>
3636

3737
<pre class=ignored-specs>
3838
spec:mediaqueries-5
39-
spec:css-values-4
39+
spec:css-values-5
4040
spec:css-fonts-4
4141
</pre>
4242

@@ -229,12 +229,11 @@ Conditional ''@import'' Rules</h3>
229229
</pre>
230230
</div>
231231

232-
A <dfn noexport for="@import"><<media-query>></dfn> corresponds to the <code>media_query_list</code> production
233-
and is interpreted as a <a>media query</a>,
234-
and a <dfn noexport for="@import"><<supports-condition>></dfn> corresponds to a <code>supports_condition</code> production
235-
and is interpreted as an ''@supports'' condition.
236-
If a <dfn noexport for="@import"><<declaration>></dfn> (a <code>declaration</code> production) is given in place of a <<supports-condition>>,
237-
it must be interpreted as a <code>supports_declaration_condition</code> production
232+
The [=import conditions=] are given by
233+
<<media-query-list>>, which is parsed and interpreted as a <a>media query list</a>,
234+
and <<supports-condition>>, is parsed and interpreted as a [[supports query]].
235+
If a <<declaration>> is given in place of a <<supports-condition>>,
236+
it must be interpreted as a <<supports-decl>>
238237
(i.e. the extra set of parentheses is implied)
239238
and treated as a <<supports-condition>>.
240239

0 commit comments

Comments
 (0)