forked from WebKit/WebKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinheritance.html
69 lines (64 loc) · 2.55 KB
/
inheritance.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>CSS1 Test Suite: 1.3 Inheritance</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META http-equiv="Content-Style-Type" content="text/css">
<LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.css">
<STYLE type="text/css">
BODY {color: green;}
H3 {color: blue;}
EM {color: purple;}
.one {font-style: italic;}
.two {text-decoration: underline;}
#two {color: navy;}
.three {color: purple;}</STYLE>
</HEAD>
<BODY><P>The style declarations which apply to the text below are:</P>
<PRE>BODY {color: green;}
H3 {color: blue;}
EM {color: purple;}
.one {font-style: italic;}
.two {text-decoration: underline;}
#two {color: navy;}
.three {color: purple;}
</PRE>
<HR>
<H3>This sentence should show <STRONG>blue</STRONG> and <EM>purple</EM>.</H3>
<H3>This sentence should be <SPAN class="one">blue</SPAN> throughout.</H3>
<P>
This should be green except for the <EM>emphasized words</EM>, which should be purple.
</P>
<H3 class="two">This should be blue and underlined.</H3>
<P class="two">
This sentence should be underlined, including <TT>this part</TT>, <I>this part</I>, <EM>this part</EM>, and <STRONG>this part</STRONG>.
</P>
<P class="two" ID="two">
This sentence should also be underlined, as well as dark blue (navy), <TT>including this part</TT>.
</P>
<P class="three">
This sentence should be purple, including <STRONG>this part</STRONG> and <SPAN style="text-decoration: underline;">this part (which is spanned)</SPAN>.
</P>
<TABLE border cellspacing="0" cellpadding="3" class="tabletest">
<TR>
<TD colspan="2" bgcolor="silver"><STRONG>TABLE Testing Section</STRONG></TD>
</TR>
<TR>
<TD bgcolor="silver"> </TD>
<TD><H3>This sentence should show <STRONG>blue</STRONG> and <EM>purple</EM>.</H3>
<H3>This sentence should be <SPAN class="one">blue</SPAN> throughout.</H3>
<P>
This should be green except for the <EM>emphasized words</EM>, which should be purple.
</P>
<H3 class="two">This should be blue and underlined.</H3>
<P class="two">
This sentence should be underlined, including <TT>this part</TT>, <I>this part</I>, <EM>this part</EM>, and <STRONG>this part</STRONG>.
</P>
<P class="two" ID="two">
This sentence should also be underlined, as well as dark blue (navy), <TT>including this part</TT>.
</P>
<P class="three">
This sentence should be purple, including <STRONG>this part</STRONG> and <SPAN style="text-decoration: underline;">this part (which is spanned)</SPAN>.
</P>
</TD></TR></TABLE></BODY>
</HTML>