Skip to content

Commit 9d1c7ff

Browse files
committed
editorial changes
1 parent 71de4bd commit 9d1c7ff

1 file changed

Lines changed: 7 additions & 13 deletions

File tree

css3-cascade/Overview.src.html

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -480,8 +480,7 @@ <h2>Cascading</h2>
480480

481481
<ol>
482482
<li>Weight. In CSS3, the weight of a declaration is based on the origin of
483-
the declaration and its marked level of importance. See a separate section
484-
below for how to compute the weight. The declaration with the highest weight wins.
483+
the declaration and its marked level of importance. See <a href="#computing-weight">Computing Weight</a> below for how to compute the weight. The declaration with the highest weight wins.
485484

486485
<li>Specificity. The <a href="/TR/css3-selectors">Selectors module</a>
487486
[[!SELECT]] describes how to compute the specificity. The
@@ -500,19 +499,14 @@ <h2>Inheritance</h2>
500499

501500
<p>Inheritance is a way of propagating property values from parent
502501
elements to their children. Inheritance means that the specified value
503-
of a given element/property combination is copied from the computed
504-
value of the parent element.
502+
of a given element/property is copied from the parent element's
503+
computed value for the same property.
505504

506-
<p>
505+
<p>The root element, which has no parent element, inherits the initial value of the property.
507506

508-
<ul>
509-
<li>The root element, which has no parent element, inherits the initial value of the property.
510-
<li>The page box inherits from the inherits the initial value
511-
<li>Margin boxes inherit from the page box
512-
<li>pseudo-elements inherit according to the fictional tag sequence [[!SELECT]]
513-
<li>pseudo-classes inherit from its parent
507+
<p>The page box inherits from the inherits the initial value of the property. Margin boxes inherit from the page pox.
514508

515-
</ul>
509+
<p>Pseudo-elements inherit according to a fictional tag sequence described for each pseudo-element [[!SELECT]].
516510

517511

518512
<p>Some properties are said to be <dfn
@@ -536,7 +530,7 @@ <h2>Initial value</h2>
536530
keyword which all properties accept.
537531

538532

539-
<h2>Computing weight</h2>
533+
<h2 id="computing-weight">Computing weight</h2>
540534

541535
<p>In order to sort declarations in the cascading process, the weight
542536
of a declaration must be known. In CSS3, the weight of a declaration

0 commit comments

Comments
 (0)