You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-cascade/Overview.src.html
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -525,13 +525,10 @@ <h4 id="cascaded-value">
525
525
526
526
<p>
527
527
The <dfn>cascaded value</dfn> represents the result of the cascade.
528
-
It is the value of the highest declaration in the <i>output of the cascade</i>
528
+
It is the value of the first declaration in the <i>output of the cascade</i>
529
529
(after any rollback steps have been performed, see below).
530
530
If the <i>output of the cascade</i> is an empty list,
531
-
the <i>cascaded value</i> is the ''inherit'' keyword
532
-
if the property is an <i>inherited property</i>
533
-
(as defined by its property definition table)
534
-
or the ''initial'' keyword otherwise.
531
+
there is no cascaded value.
535
532
536
533
<h3id="defaulting">
537
534
Inheritance and Defaulting</h3>
@@ -576,10 +573,17 @@ <h4 id="inheritance">
576
573
Note that inheritance follows the document tree and is not intercepted by <ahref="http://www.w3.org/TR/CSS21/visuren.html#box-gen">anonymous boxes</a>,
577
574
or otherwise affected by manipulations of the box tree.
578
575
576
+
<p>
577
+
If there is no <i>cascaded value</i>,
578
+
the <i>inherited value</i> becomes the property's <i>specified value</i>.
579
+
579
580
<p>
580
581
If the <i>cascaded value</i> of a property is the <dfnid="inherit-keyword">''inherit''</dfn> keyword,
581
582
the <i>inherited value</i> becomes the property's <ititle="specified value">specified</i> and <i>computed values</i>.
582
583
584
+
<pclass='issue'>
585
+
Not sure if the latter is correct, or if it should be just the specified value (matching the 2.1 errata).
586
+
583
587
<h4id="default">
584
588
Rolling back the cascade: the ''default'' keyword</h4>
0 commit comments