Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css1 / font_properties / font_weight.html
blob8dbc4c47c49dc9d6168004f8c629ba5fb2f7b104
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.2.5 font-weight</TITLE>
5 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6 <META http-equiv="Content-Style-Type" content="text/css">
8 <LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.css">
9 <STYLE type="text/css">
10 .one {font-weight: bold;}
11 .two {font-weight: bolder;}
12 .three {font-weight: lighter;}
13 .four {font-weight: 100;}
14 .five {font-weight: 300;}
15 .six {font-weight: 500;}
16 .seven {font-weight: 700;}
17 .eight {font-weight: 900;}
18 .nine {font-weight: normal;}
19 B {font-weight: lighter;}
20 </STYLE>
22 </HEAD>
24 <BODY><P>The style declarations which apply to the text below are:</P>
25 <PRE>.one {font-weight: bold;}
26 .two {font-weight: bolder;}
27 .three {font-weight: lighter;}
28 .four {font-weight: 100;}
29 .five {font-weight: 300;}
30 .six {font-weight: 500;}
31 .seven {font-weight: 700;}
32 .eight {font-weight: 900;}
33 .nine {font-weight: normal;}
34 B {font-weight: lighter;}
36 </PRE>
37 <HR>
38 <P class="one">
39 This sentence should be bold.
40 </P>
41 <P class="two">
42 This sentence should be bolder than normal.
43 </P>
45 <H4>This is a heading-4.</H4>
46 <H4 class="two">This is a bolder heading-4.</H4>
48 <P>
49 <B>This sentence should be normal (boldface made lighter).</B>
50 </P>
51 <P class="four">
52 This sentence should be weight 100.
53 </P>
54 <P class="five">
55 This sentence should be weight 300.
56 </P>
57 <P class="six">
58 This sentence should be weight 500.
59 </P>
60 <P class="seven">
61 This sentence should be weight 700.
62 </P>
63 <P class="eight">
64 This sentence should be weight 900.
65 </P>
67 <P class="one">
68 This sentence should be bold, but the last word in the sentence should be <SPAN class="nine">normal</SPAN>.
69 </P>
72 <TABLE border cellspacing="0" cellpadding="3" class="tabletest">
73 <TR>
74 <TD colspan="2" bgcolor="silver"><STRONG>TABLE Testing Section</STRONG></TD>
75 </TR>
76 <TR>
77 <TD bgcolor="silver">&nbsp;</TD>
78 <TD><P class="one">
79 This sentence should be bold.
80 </P>
81 <P class="two">
82 This sentence should be bolder than normal.
83 </P>
85 <H4>This is a heading-4.</H4>
86 <H4 class="two">This is a bolder heading-4.</H4>
88 <P>
89 <B>This sentence should be normal (boldface made lighter).</B>
90 </P>
91 <P class="four">
92 This sentence should be weight 100.
93 </P>
94 <P class="five">
95 This sentence should be weight 300.
96 </P>
97 <P class="six">
98 This sentence should be weight 500.
99 </P>
100 <P class="seven">
101 This sentence should be weight 700.
102 </P>
103 <P class="eight">
104 This sentence should be weight 900.
105 </P>
107 <P class="one">
108 This sentence should be bold, but the last word in the sentence should be <SPAN class="nine">normal</SPAN>.
109 </P>
110 </TD></TR></TABLE></BODY>
111 </HTML>