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