Skip to content

Commit 9e5272c

Browse files
committed
[css-cascade][editorial] Fix markup.
1 parent f7cb4fb commit 9e5272c

File tree

3 files changed

+24
-12
lines changed

3 files changed

+24
-12
lines changed

css-cascade-3/Overview.bs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -964,19 +964,22 @@ Explicit Defaulting</h3>
964964
<h4 id="initial">
965965
Resetting a Property: the ''initial'' keyword</h4>
966966

967-
If the <a>cascaded value</a> of a property is the <dfn for=all caniuse="css-initial-value">''initial''</dfn> keyword,
967+
If the <a>cascaded value</a> of a property is
968+
the <dfn value for=all caniuse="css-initial-value">initial</dfn> keyword,
968969
the property's <a>specified value</a> is its <a>initial value</a>.
969970

970971
<h4 id="inherit">
971972
Explicit Inheritance: the ''inherit'' keyword</h4>
972973

973-
If the <a>cascaded value</a> of a property is the <dfn for=all>''inherit''</dfn> keyword,
974+
If the <a>cascaded value</a> of a property is
975+
the <dfn value for=all>inherit</dfn> keyword,
974976
the property's <a lt="specified value">specified</a> and <a>computed values</a> are the <a>inherited value</a>.
975977

976978
<h4 id="inherit-initial">
977979
Erasing All Declarations: the ''unset'' keyword</h4>
978980

979-
If the <a>cascaded value</a> of a property is the <dfn for=all caniuse="css-unset-value">''unset''</dfn> keyword,
981+
If the <a>cascaded value</a> of a property is
982+
the <dfn value for=all caniuse="css-unset-value">unset</dfn> keyword,
980983
then if it is an inherited property, this is treated as ''inherit'',
981984
and if it is not, this is treated as ''initial''.
982985
This keyword effectively erases all <a>declared values</a> occurring earlier in the <a>cascade</a>,

css-cascade-4/Overview.bs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,19 +1227,22 @@ Explicit Defaulting</h3>
12271227
<h4 id="initial">
12281228
Resetting a Property: the ''initial'' keyword</h4>
12291229

1230-
If the <a>cascaded value</a> of a property is the <dfn for=all caniuse="css-initial-value">''initial''</dfn> keyword,
1230+
If the <a>cascaded value</a> of a property is
1231+
the <dfn value for=all caniuse="css-initial-value">initial</dfn> keyword,
12311232
the property's <a>specified value</a> is its <a>initial value</a>.
12321233

12331234
<h4 id="inherit">
12341235
Explicit Inheritance: the ''inherit'' keyword</h4>
12351236

1236-
If the <a>cascaded value</a> of a property is the <dfn for=all>''inherit''</dfn> keyword,
1237+
If the <a>cascaded value</a> of a property is
1238+
the <dfn value for=all>inherit</dfn> keyword,
12371239
the property's <a lt="specified value">specified</a> and <a>computed values</a> are the <a>inherited value</a>.
12381240

12391241
<h4 id="inherit-initial">
12401242
Erasing All Declarations: the ''unset'' keyword</h4>
12411243

1242-
If the <a>cascaded value</a> of a property is the <dfn for=all caniuse="css-unset-value">''unset''</dfn> keyword,
1244+
If the <a>cascaded value</a> of a property is
1245+
the <dfn value for=all caniuse="css-unset-value">unset</dfn> keyword,
12431246
then if it is an inherited property, this is treated as ''inherit'',
12441247
and if it is not, this is treated as ''initial''.
12451248
This keyword effectively erases all <a>declared values</a> occurring earlier in the <a>cascade</a>,
@@ -1249,7 +1252,8 @@ Erasing All Declarations: the ''unset'' keyword</h4>
12491252
<h4 id="default">
12501253
Rolling Back Cascade Origins: the ''revert'' keyword</h4>
12511254

1252-
If the <a>cascaded value</a> of a property is the <dfn for=all caniuse="css-revert-value">''revert''</dfn> keyword,
1255+
If the <a>cascaded value</a> of a property is
1256+
the <dfn value for=all caniuse="css-revert-value">revert</dfn> keyword,
12531257
the behavior depends on the [=cascade origin=] to which the declaration belongs:
12541258

12551259
<dl>

css-cascade-5/Overview.bs

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1801,19 +1801,22 @@ Explicit Defaulting</h3>
18011801
<h4 id="initial">
18021802
Resetting a Property: the ''initial'' keyword</h4>
18031803

1804-
If the <a>cascaded value</a> of a property is the <dfn for=all caniuse="css-initial-value">''initial''</dfn> keyword,
1804+
If the <a>cascaded value</a> of a property is
1805+
the <dfn value for=all caniuse="css-initial-value">initial</dfn> keyword,
18051806
the property's <a>specified value</a> is its <a>initial value</a>.
18061807

18071808
<h4 id="inherit">
18081809
Explicit Inheritance: the ''inherit'' keyword</h4>
18091810

1810-
If the <a>cascaded value</a> of a property is the <dfn for=all>''inherit''</dfn> keyword,
1811+
If the <a>cascaded value</a> of a property is
1812+
the <dfn value for=all>inherit</dfn> keyword,
18111813
the property's <a lt="specified value">specified</a> and <a>computed values</a> are the <a>inherited value</a>.
18121814

18131815
<h4 id="inherit-initial">
18141816
Erasing All Declarations: the ''unset'' keyword</h4>
18151817

1816-
If the <a>cascaded value</a> of a property is the <dfn for=all caniuse="css-unset-value">''unset''</dfn> keyword,
1818+
If the <a>cascaded value</a> of a property is
1819+
the <dfn value for=all caniuse="css-unset-value">unset</dfn> keyword,
18171820
then if it is an inherited property, this is treated as ''inherit'',
18181821
and if it is not, this is treated as ''initial''.
18191822
This keyword effectively erases all <a>declared values</a> occurring earlier in the <a>cascade</a>,
@@ -1823,7 +1826,8 @@ Erasing All Declarations: the ''unset'' keyword</h4>
18231826
<h4 id="default">
18241827
Rolling Back Cascade Origins: the ''revert'' keyword</h4>
18251828

1826-
If the <a>cascaded value</a> of a property is the <dfn for=all caniuse="css-revert-value">''revert''</dfn> keyword,
1829+
If the <a>cascaded value</a> of a property is
1830+
the <dfn value for=all caniuse="css-revert-value">revert</dfn> keyword,
18271831
the behavior depends on the [=cascade origin=] to which the declaration belongs:
18281832

18291833
<dl>
@@ -1850,7 +1854,8 @@ Rolling Back Cascade Origins: the ''revert'' keyword</h4>
18501854
<h4 id="revert-layer">
18511855
Rolling Back Cascade Layers: the ''revert-layer'' keyword</h4>
18521856

1853-
If the <a>cascaded value</a> of a property is the <dfn for=all>''revert-layer''</dfn> keyword,
1857+
If the <a>cascaded value</a> of a property is
1858+
the <dfn value for=all>revert-layer</dfn> keyword,
18541859
the <a>cascaded value</a> is rolled back to the [=layer=] below,
18551860
so that the <a>specified value</a> is calculated
18561861
as if no rules were specified in the current [=cascade layer=]--

0 commit comments

Comments
 (0)