1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
4 <TITLE>CSS1 Test Suite:
5.2.6 font-size
</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-size: medium;}
11 .two {font-size: larger;}
12 .three {font-size: smaller;}
13 .four {font-size: xx-small;}
14 .five {font-size: x-small;}
15 .six {font-size: small;}
16 .seven {font-size: large;}
17 .eight {font-size: x-large;}
18 .nine {font-size: xx-large;}
19 .a {font-size:
0.5in;}
23 .e {font-size:
1.5pc;}
28 .j {font-size: -
0.5in;}
33 <BODY><P>The style declarations which apply to the text below are:
</P>
34 <PRE>.one {font-size: medium;}
35 .two {font-size: larger;}
36 .three {font-size: smaller;}
37 .four {font-size: xx-small;}
38 .five {font-size: x-small;}
39 .six {font-size: small;}
40 .seven {font-size: large;}
41 .eight {font-size: x-large;}
42 .nine {font-size: xx-large;}
43 .a {font-size:
0.5in;}
47 .e {font-size:
1.5pc;}
52 .j {font-size: -
0.5in;}
57 This paragraph element is unstyled, so the size of the font in this element is the default size for this user agent.
60 This sentence has been set to
<CODE>medium
</CODE>, which may or may not be the same size as unstyled text.
63 This sentence should be larger than unstyled text.
66 This sentence should be smaller than unstyled text.
69 This sentence should be very small, but the last word in the sentence should be
<SPAN class=
"one">medium
</SPAN>.
72 This sentence should be rather small, but the last word in the sentence should be
<SPAN class=
"one">medium
</SPAN>.
75 This sentence should be small, but the last word in the sentence should be
<SPAN class=
"one">medium
</SPAN>.
78 This sentence should be large, but the last word in the sentence should be
<SPAN class=
"one">medium
</SPAN>.
81 This sentence should be rather large, but the last word in the sentence should be
<SPAN class=
"one">medium
</SPAN>.
84 This sentence should be very large, but the last word in the sentence should be
<SPAN class=
"one">medium
</SPAN>.
87 This sentence should be half an inch tall.
90 This sentence should be one centimeter tall.
93 This sentence should be ten millimeters tall.
96 This sentence should be eighteen points tall.
99 This sentence should be one and one half picas tall.
102 This sentence should be two em tall.
105 This sentence should be three ex tall.
108 This sentence should be twenty-five pixels tall.
111 This sentence should be twice normal size.
114 This sentence should be normal size, since no negative values are allowed and therefore should be ignored.
118 <TABLE border
cellspacing=
"0" cellpadding=
"3" class=
"tabletest">
120 <TD colspan=
"2" bgcolor=
"silver"><STRONG>TABLE Testing Section
</STRONG></TD>
123 <TD bgcolor=
"silver"> </TD>
125 This paragraph element is unstyled, so the size of the font in this element is the default size for this user agent.
128 This sentence has been set to
<CODE>medium
</CODE>, which may or may not be the same size as unstyled text.
131 This sentence should be larger than unstyled text.
134 This sentence should be smaller than unstyled text.
137 This sentence should be very small, but the last word in the sentence should be
<SPAN class=
"one">medium
</SPAN>.
140 This sentence should be rather small, but the last word in the sentence should be
<SPAN class=
"one">medium
</SPAN>.
143 This sentence should be small, but the last word in the sentence should be
<SPAN class=
"one">medium
</SPAN>.
146 This sentence should be large, but the last word in the sentence should be
<SPAN class=
"one">medium
</SPAN>.
149 This sentence should be rather large, but the last word in the sentence should be
<SPAN class=
"one">medium
</SPAN>.
152 This sentence should be very large, but the last word in the sentence should be
<SPAN class=
"one">medium
</SPAN>.
155 This sentence should be half an inch tall.
158 This sentence should be one centimeter tall.
161 This sentence should be ten millimeters tall.
164 This sentence should be eighteen points tall.
167 This sentence should be one and one half picas tall.
170 This sentence should be two em tall.
173 This sentence should be three ex tall.
176 This sentence should be twenty-five pixels tall.
179 This sentence should be twice normal size.
182 This sentence should be normal size, since no negative values are allowed and therefore should be ignored.
184 </TD></TR></TABLE></BODY>