Skip to content

Commit 359c219

Browse files
committed
[css2] Added paragraph about inherit value
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40705
1 parent ff84535 commit 359c219

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

css2/cascade.src

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: cascade.src,v 1.30 1998-01-20 23:21:43 ijacobs Exp $ -->
3+
<!-- $Id: cascade.src,v 1.31 1998-01-27 16:40:24 ijacobs Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>Assigning property values, Cascading, and Inheritance</TITLE>
@@ -41,7 +41,6 @@ use it.
4141
title="initial value">initial value</span>. The <a
4242
name="initial-value">initial value</a> of each property is indicated
4343
in the property's definition.
44-
<li>
4544
</ol>
4645

4746
<h3><a name="computed-value">Computed values</a></h3>
@@ -50,7 +49,7 @@ in the property's definition.
5049
the constant value 'hidden') or "relative" (e.g., the variable value
5150
'auto', the font-related value 'em', pixel values, percentage values,
5251
etc.). Each value must be transformed into a <span class="index-def"
53-
title="computed value">computed value</span> value according to
52+
title="computed value">computed value</span> according to
5453
algorithms described in this specification.
5554

5655
<P>When the root of the document tree has a property whose specified
@@ -173,6 +172,15 @@ element. In that case, the EM will inherit a value of 11pt for the
173172
same property.
174173
</div>
175174

175+
<h3>The <span class="index-def" title="inherit, definition
176+
of"><a name="value-def-inherit">inherit</a></span>
177+
value</h3>
178+
179+
<P>Each property may also take the value 'inherit', which means that,
180+
for a given element, the property takes the same <a
181+
href="#computed-value">computed value</a> as the property for the
182+
element's parent.
183+
176184
<H2><a name="cascade">The cascade</a></h2>
177185

178186
<P>Style sheets may have three different origins: author, user, and

0 commit comments

Comments
 (0)