| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
| <title>CSS 2.1 Test Suite: Inheritance</title> |
| .a { background: green; color: white; } |
| .a1 { font-style: italic; } |
| <link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#inheritance" title="6.2 Inheritance"> |
| <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#colors" title="14.1 Foreground color: the 'color' property"> |
| <p> This sentence should be green. </p> |
| <p class="a"> This sentence <span class="a1">should be</span> white on green. </p> |
| <p class="b"> <em>PASS</em> <strong>FAIL</strong> </p> |
| <p class="c"> PASS <dfn>FAIL</dfn> </p> |