Skip to content

Commit 2aa48e8

Browse files
committed
[css2] Edited issues:
http://www.w3.org/Style/css2-updates/REC-CSS2-20110607-errata.html#s.6.2.1 http://www.w3.org/Style/css2-updates/REC-CSS2-20110607-errata.html#s.6.1.1 --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%403251
1 parent 8446e10 commit 2aa48e8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

css2/cascade.src

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: cascade.src,v 2.75 2011-10-18 19:25:27 bbos Exp $ -->
3+
<!-- $Id: cascade.src,v 2.76 2011-11-17 13:37:40 bbos Exp $ -->
44
<HEAD>
55
<TITLE>Assigning property values, Cascading, and Inheritance</TITLE>
66
<!--script src="http://www.w3c-test.org/css/harness/annotate.js#CSS21_DEV" type="text/javascript" defer></script-->
@@ -32,6 +32,8 @@ on the following mechanisms (in order of precedence):</p>
3232

3333
<ol>
3434
<li>If the <a href="#cascade">cascade</a> results in a value, use it.
35+
But if the cascade results in 'inherit', the specified value is as
36+
explained in <a href="#value-def-inherit" >“The 'inherit' value.”</a>
3537
<li>Otherwise, if the property is <a href="#inheritance">inherited</a> and the element is not the root of the <a>document tree</a>, use the computed value of the parent element.
3638
<li>Otherwise use the property's <span class="index-def" title="initial value">initial value</span>. The initial value of each property is indicated in the property's definition.
3739
</ol>
@@ -147,8 +149,8 @@ of"><a name="value-def-inherit">'inherit'</a></span>
147149
value</h3>
148150

149151
<P>Each property may also have a cascaded value of 'inherit', which
150-
means that, for a given element, the property takes the same specified
151-
value as the property for the element's parent. The 'inherit' value
152+
means that, for a given element, the property takes as specified
153+
value the computed value of the element's parent. The 'inherit' value
152154
can be used to enforce inheritance of values, and it can also be used on
153155
properties that are not normally inherited.
154156

0 commit comments

Comments
 (0)