Skip to content

Commit 71fb957

Browse files
committed
[css2] Added 'inherit' keyword.
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%40403
1 parent cfd288f commit 71fb957

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

css2/syndata.src

Lines changed: 20 additions & 1 deletion
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: syndata.src,v 1.33 1997-11-05 14:48:06 ian Exp $ -->
3+
<!-- $Id: syndata.src,v 1.34 1997-11-20 15:36:17 bbos Exp $ -->
44
<HEAD>
55
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66
<TITLE>CSS2 syntax and basic data types</TITLE>
@@ -762,6 +762,25 @@ is a treble sound.
762762
<P>The frequency value must be followed immediately by the frequency
763763
unit without an intervening space.
764764

765+
<!--
766+
<h3>The 'inherit' keyword</h3>
767+
768+
<p>All properties accept the value <span class="index-def"
769+
title="inherit, keyword"><a name="value-def-inherit"
770+
class="value-def">'inherit'</a></span>, which means that the value of
771+
the property is the same as the value of the property in the parent
772+
element. See <a href="process.src#inheritance">Inheritance</a> in the
773+
chapter on the CSS processing model.
774+
775+
<p>For inherited properties, specifying the value as 'inherit' has the
776+
same effect as omitting the property, except that it increases the <a
777+
href="cascade.html#cascading-order">specificity</a>, since it allows a
778+
selector.
779+
780+
<p>Specifying 'inherit' for a property of the root element has the
781+
same effect as setting it to the initial value.
782+
-->
783+
765784
<H2><a name="css-in-html">CSS embedded in HTML</a></H2>
766785

767786
<P> CSS style sheets may be embedded in HTML documents, and to be able

0 commit comments

Comments
 (0)