blob: 289c84dca6109450b6600e50bef193b13a4fedeb [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>CSS 2.1 Test Suite: Inheritance</title>
<!-- XXX Content-Style-Type -->
<style type="text/css">
body { color: navy; }
.a { text-decoration: underline; }
#a { font-style: italic; }
</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/text.html#lining-striking-props" title="16.3.1 Underlining, overlining, striking, and blinking: the 'text-decoration' property">
</head>
<body>
<p class="a"> This should be blue and underlined. </p>
<p class="a"> This sentence should be underlined, including
<code>this part</code>, <cite>this part</cite>, <em>this part</em>,
and <strong>this part</strong>. </p>
<p id="a" class="a"> This sentence should also be underlined, as
well as italics, <strong>including this part</strong>. </p>
<p> This sentence should be blue but not underlined, like
<strong>this part</strong>, but <em style="text-decoration: underline;">this part should be underlined</em>. </p>
</body>
</html>