ap | 92b5752 | 2006-01-05 20:48:53 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
thatcher | bea5137 | 2005-10-25 00:42:22 | [diff] [blame] | 2 | <html> |
| 3 | <head> |
| 4 | <title>CSS 2.1 Test Suite: Inheritance</title> |
| 5 | <style type="text/css"> |
| 6 | body { color: green; } |
| 7 | .a { background: green; color: white; } |
| 8 | .a1 { font-style: italic; } |
| 9 | .b { color: white; } |
| 10 | em { color: green; } |
| 11 | dfn { color: white; } |
| 12 | </style> |
darin | 83dae6e | 2007-01-06 01:36:24 | [diff] [blame] | 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"> |
thatcher | bea5137 | 2005-10-25 00:42:22 | [diff] [blame] | 15 | </head> |
| 16 | <body> |
| 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> |
| 21 | </body> |
| 22 | </html> |