Skip to content

Commit db7388f

Browse files
committed
[css-cascade-4][editorial] markup fixes
1 parent 086f663 commit db7388f

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

css-cascade-4/Overview.bs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:css-fonts-4; type:property;
4040
spec:mediaqueries-4;
4141
type:type; text:<media-query>
4242
type:value; text:all; for:@media
43-
spec:css2; type:property; text:display
43+
spec:css22; type:property; text:display
4444
spec:css-color-4; type:value; text:red
4545
spec:html; type:element; text:style
4646
spec:css-2021; type:dfn; text:vendor-prefixed
@@ -55,18 +55,18 @@ spec:css-values-5
5555
<style>
5656
/* Put nice boxes around each algorithm. */
5757
[data-algorithm]:not(.heading) {
58-
padding: .5em;
59-
border: thin solid #ddd; border-radius: .5em;
60-
margin: .5em calc(-0.5em - 1px);
58+
padding: .5em;
59+
border: thin solid #ddd; border-radius: .5em;
60+
margin: .5em calc(-0.5em - 1px);
6161
}
6262
[data-algorithm]:not(.heading) > :first-child {
63-
margin-top: 0;
63+
margin-top: 0;
6464
}
6565
[data-algorithm]:not(.heading) > :last-child {
66-
margin-bottom: 0;
66+
margin-bottom: 0;
6767
}
6868
[data-algorithm] [data-algorithm] {
69-
margin: 1em 0;
69+
margin: 1em 0;
7070
}
7171
</style>
7272

@@ -76,7 +76,7 @@ Introduction</h2>
7676
CSS defines a finite set of parameters,
7777
called <dfn export for=CSS lt="property">properties</dfn>,
7878
that direct the rendering of a document.
79-
Each [=property=] has a name
79+
Each [=CSS/property=] has a name
8080
(e.g., 'color', 'font-size', or 'border-style'),
8181
a value space
8282
(e.g., <<color>>, <<length-percentage>>, ''[ solid | dashed | dotted | &hellip; ]''),
@@ -166,7 +166,7 @@ Importing Style Sheets: the ''@import'' rule</h2>
166166
<<media-query-list>>?</pre>
167167

168168
where the <<url>> or <<string>> gives the URL of the style sheet to be imported,
169-
and the optional <<import-condition>>
169+
and the optional <<import-conditions>>
170170
state the [=import conditions=] under which it applies.
171171

172172
<div class="example">
@@ -291,7 +291,7 @@ Processing Stylesheet Imports</h3>
291291
and processResponse being the following steps given [=/response=] |response| and
292292
byte stream, null or failure |byteStream|:
293293

294-
1. If |maybeByteStream| is not a byte stream, return.
294+
1. If |byteStream| is not a byte stream, return.
295295

296296
2. If |parentStylesheet| is in [=quirks mode=]
297297
and |response| is [=CORS-same-origin=],
@@ -301,7 +301,7 @@ Processing Stylesheet Imports</h3>
301301
3. If |content type| is not <code>"text/css"</code>,
302302
return.
303303

304-
4. Let |importedStylesheet| be the result of [=Parse a stylesheet|parsing=] |byteStram|
304+
4. Let |importedStylesheet| be the result of [=Parse a stylesheet|parsing=] |byteStream|
305305
given |parsedUrl|.
306306

307307
5. Set |importedStylesheet|'s <a spec=cssom>origin-clean flag</a> to
@@ -1275,7 +1275,7 @@ Erasing All Declarations: the ''unset'' keyword</h4>
12751275
<h4 id="default" for=all caniuse="css-revert-value">
12761276
Rolling Back Cascade Origins: the ''revert'' keyword</h4>
12771277

1278-
The <dfn value>revert</dfn> [=CSS-wide keyword=]
1278+
The <dfn value for=all>revert</dfn> [=CSS-wide keyword=]
12791279
rolls back the cascade to the [=cascaded value=] of the earlier [=origin=].
12801280

12811281
If the <a>cascaded value</a> of a property is
@@ -1372,7 +1372,7 @@ Changes Since the 28 August 2018 Candidate Recommendation</h3>
13721372
(Issues <a href="https://github.com/w3c/csswg-drafts/issues/1861">1861</a>
13731373
and <a href="https://github.com/w3c/csswg-drafts/issues/5565">5565</a>)
13741374
<li id="change-2020-properties">
1375-
Defined the term [=property=].
1375+
Defined the term [=CSS/property=].
13761376
(<a href="https://github.com/w3c/csswg-drafts/issues/5633">Issue 5633</a>)
13771377
<li id="change-2020-disconnected">
13781378
Defined value processing of elements that are not part of the tree.

0 commit comments

Comments
 (0)