22 lines
815 B
HTML
22 lines
815 B
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<html>
|
|
<head>
|
|
<title>CSS 2.1 Test Suite: Inheritance</title>
|
|
<style type="text/css">
|
|
body { color: green; }
|
|
.a { background: green; color: white; }
|
|
.a1 { font-style: italic; }
|
|
.b { color: white; }
|
|
em { color: green; }
|
|
dfn { color: white; }
|
|
</style>
|
|
<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">
|
|
</head>
|
|
<body>
|
|
<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>
|
|
</body>
|
|
</html> |