Reviewed by Darin.
[WebKit-https.git] / LayoutTests / css1 / color_and_background / color.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2 <HTML>
3 <HEAD>
4 <TITLE>CSS1 Test Suite: 5.3.1 color</TITLE>
5 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6 <META http-equiv="Content-Style-Type" content="text/css">
7
8 <LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.css">
9 <STYLE type="text/css">
10 .one {color: green;}
11 </STYLE>
12
13 </HEAD>
14
15 <BODY><P>The style declarations which apply to the text below are:</P>
16 <PRE>.one {color: green;}
17
18 </PRE>
19 <HR>
20 <P class="one">
21 This sentence should be green.
22 </P>
23 <P style="color: green;">
24 This sentence should be green.
25 </P>
26
27
28 <TABLE border cellspacing="0" cellpadding="3" class="tabletest">
29 <TR>
30 <TD colspan="2" bgcolor="silver"><STRONG>TABLE Testing Section</STRONG></TD>
31 </TR>
32 <TR>
33 <TD bgcolor="silver">&nbsp;</TD>
34 <TD><P class="one">
35 This sentence should be green.
36 </P>
37 <P style="color: green;">
38 This sentence should be green.
39 </P>
40 </TD></TR></TABLE></BODY>
41 </HTML>