1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Inheritance</title>
5 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#inheritance">
6 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
7 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
8 <style type="text/css">
9 body { color: green; }
10 .a { background: green; color: white; }
11 .a1 { font-style: italic; }
12 .b { color: white; }
13 em { color: green; }
14 dfn { color: white; }
15 </style>
16 <link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#inheritance" title="6.2 Inheritance">
17 <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" title="14.1 Foreground color: the 'color' property">
18 </head>
19 <body>
20 <p> This sentence should be green. </p>
21 <p class="a"> This sentence <span class="a1">should be</span> white on green. </p>
22 <p class="b"> <em>PASS</em> <strong>FAIL</strong> </p>
23 <p class="c"> PASS <dfn>FAIL</dfn> </p>
24 </body>
25 </html>