1
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>CSS
2.1 Test Suite: Inheritance
</title>
5 <!-- XXX Content-Style-Type -->
6 <style type=
"text/css">
8 .a { text-decoration: underline
; }
9 #a { font-style: italic
; }
11 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/cascade.html#inheritance" title=
"6.2 Inheritance">
12 <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">
16 <p class=
"a"> This should be blue and underlined.
</p>
18 <p class=
"a"> This sentence should be underlined, including
19 <code>this part
</code>,
<cite>this part
</cite>,
<em>this part
</em>,
20 and
<strong>this part
</strong>.
</p>
22 <p id=
"a" class=
"a"> This sentence should also be underlined, as
23 well as italics,
<strong>including this part
</strong>.
</p>
25 <p> This sentence should be blue but not underlined, like
26 <strong>this part
</strong>, but
<em style=
"text-decoration: underline;">this part should be underlined
</em>.
</p>