8000 [css-cascade] Fix typos and rearrange some sentences. · w3c/csswg-drafts@14b7ae3 · GitHub
Skip to content

Commit 14b7ae3

Browse files
committed
[css-cascade] Fix typos and rearrange some sentences.
1 parent aa5ceff commit 14b7ae3

1 file changed

Lines changed: 19 additions & 13 deletions

File tree

css-cascade/Overview.bs

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Introduction</h2>
4343
Module Interactions</h3>
4444

4545
<p>This module replaces and extends
46-
the rules for assigning property values, aascading, and inheritance defined in [[!CSS21]] chapter 6.
46+
the rules for assigning property values, cascading, and inheritance defined in [[!CSS21]] chapter 6.
4747

4848
<p>Other CSS modules may expand the definitions of some of the syntax and features defined here.
4949
For example, the Media Queries Level 4 specification,
@@ -70,17 +70,10 @@ Importing Style Sheets: the ''@import'' rule</h2>
7070

7171
<pre class='prod'>@import [ <<url>> | <<string>> ] [ supports( <<supports-condition>> ) ]? <<media-query-list>>? ;</pre>
7272

73-
Where the <<url>> or <<string>> gives the URL of the style sheet to be imported,
73+
where the <<url>> or <<string>> gives the URL of the style sheet to be imported,
7474
and the optional <<supports-condition>> and <<media-query-list>>
7575
(collectively, the <dfn>import conditions</dfn>)
7676
state the conditions under which it applies.
77-
A <dfn><<media-query>></dfn> corresponds to the <code>media_query_list</code> production and is interpreted as a <a>media query</a>,
78-
and a <dfn><<supports-condition>></dfn> corresponds to either a <code>supports_condition</code> production
79-
or a <code>declaration</code> production interpreted as a <code>supports_declaration_condition</code> production
80-
and is interpreted as an ''@supports'' condition.
81-
82-
Issue: Feedback on the the <css>supports()</css> syntax is hereby solicited,
83-
since none so far has been received.
8477

8578
If a <<string>> is provided,
8679
it must be interpreted as a <<url>> with the same value.
@@ -96,13 +89,12 @@ Importing Style Sheets: the ''@import'' rule</h2>
9689
</pre>
9790
</div>
9891

92+
<h3 id=conditional-import>
93+
Conditional ''@import'' Rules</h3>
94+
9995
The <a>import conditions</a> allow the import to be media&ndash; or feature-support&ndash;dependent.
10096
In the absence of any <a>import conditions</a>, the import is unconditional.
10197
(Specifying ''@media/all'' for the <<media-query-list>> has the same effect.)
102-
103-
The evaluation and full syntax of the <a>import conditions</a>
104-
are defined by the <a href="http://www.w3.org/TR/css3-mediaqueries/">Media Queries</a> [[!MEDIAQ]]
105-
and <a href="http://www.w3.org/TR/css-conditional/">CSS Conditional Rules</a> [[!CSS3-CONDITIONAL]] specifications.
10698
If the <a>import conditions</a> do not match,
10799
the rules in the imported stylesheet do not apply,
108100
exactly as if the imported stylesheet were wrapped in ''@media'' and/or ''@supports'' blocks with the given conditions.
@@ -136,6 +128,20 @@ Importing Style Sheets: the ''@import'' rule</h2>
136128
</pre>
137129
</div>
138130

131+
A <dfn><<media-query>></dfn> corresponds to the <code>media_query_list</code> production and is interpreted as a <a>media query</a>,
132+
and a <dfn><<supports-condition>></dfn> corresponds to either a <code>supports_condition</code> production
133+
or a <code>declaration</code> production interpreted as a <code>supports_declaration_condition</code> production
134+
and is interpreted as an ''@supports'' condition.
135+
The evaluation and full syntax of the <a>import conditions</a>
136+
are defined by the <a href="http://www.w3.org/TR/css3-mediaqueries/">Media Queries</a> [[!MEDIAQ]]
137+
and <a href="http://www.w3.org/TR/css-conditional/">CSS Conditional Rules</a> [[!CSS3-CONDITIONAL]] specifications.
138+
139+
Issue: Feedback on the the <css>supports()</css> syntax is hereby solicited,
140+
since none so far has been received.
141+
142+
<h3 id=import-processing>
143+
Processing Stylesheet Imports</h3>
144+
139145
When the same style sheet is imported or linked to a document in multiple places,
140146
user agents must process (or act as though they do) each link
141147
as though the link were to an independent style sheet.

0 commit comments

Comments
 (0)