Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css1 / font_properties / font_family.html
blob09ff55662acefb5e739f4f75d34836cf6896a811
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.2 font-family</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 DIV.a {font-family: serif;}
11 DIV.b {font-family: monospace;}
12 .one {font-family: serif;}
13 .two {font-family: sans-serif;}
14 .three {font-family: cursive;}
15 .four {font-family: fantasy;}
16 .five {font-family: monospace;}
17 .six {font-family: sans-serif,cursive;}
18 .seven {font-family: monospace,serif;}</STYLE>
20 </HEAD>
22 <BODY><P>The style declarations which apply to the text below are:</P>
23 <PRE>DIV.a {font-family: serif;}
24 DIV.b {font-family: monospace;}
25 .one {font-family: serif;}
26 .two {font-family: sans-serif;}
27 .three {font-family: cursive;}
28 .four {font-family: fantasy;}
29 .five {font-family: monospace;}
30 .six {font-family: sans-serif,cursive;}
31 .seven {font-family: monospace,serif;}
32 </PRE>
33 <HR>
34 <DIV class="a">
35 <P>
36 This sentence is normal for the first division, which is the next five sentences; it should be a serif font.
37 </P>
38 <P class="one">
39 This sentence should be in a serif font.
40 </P>
41 <P class="two">
42 This sentence should be in a sans-serif font.
43 </P>
44 <P class="three">
45 This sentence should be in a cursive font.
46 </P>
47 <P class="four">
48 This sentence should be in a fantasy font.
49 </P>
50 <P class="five">
51 This sentence should be in a monospace font.
52 </P>
53 </DIV>
54 <HR>
55 <P class="six">
56 This sentence should be in a sans-serif font, not cursive.
57 </P>
58 <P class="seven">
59 This sentence should be in a monospace font, not serif.
60 </P>
61 <HR>
62 <DIV class="b">
63 <P>
64 This sentence is normal for the first division, which is the next five sentences; it should be a monospace font.
65 </P>
66 <P class="one">
67 This sentence should be in a serif font.
68 </P>
69 <P class="two">
70 This sentence should be in a sans-serif font.
71 </P>
72 <P class="three">
73 This sentence should be in a cursive font.
74 </P>
75 <P class="four">
76 This sentence should be in a fantasy font.
77 </P>
78 <P class="five">
79 This sentence should be in a monospace font.
80 </P>
81 </DIV>
84 <TABLE border cellspacing="0" cellpadding="3" class="tabletest">
85 <TR>
86 <TD colspan="2" bgcolor="silver"><STRONG>TABLE Testing Section</STRONG></TD>
87 </TR>
88 <TR>
89 <TD bgcolor="silver">&nbsp;</TD>
90 <TD><DIV class="a">
91 <P>
92 This sentence is normal for the first division, which is the next five sentences; it should be a serif font.
93 </P>
94 <P class="one">
95 This sentence should be in a serif font.
96 </P>
97 <P class="two">
98 This sentence should be in a sans-serif font.
99 </P>
100 <P class="three">
101 This sentence should be in a cursive font.
102 </P>
103 <P class="four">
104 This sentence should be in a fantasy font.
105 </P>
106 <P class="five">
107 This sentence should be in a monospace font.
108 </P>
109 </DIV>
110 <HR>
111 <P class="six">
112 This sentence should be in a sans-serif font, not cursive.
113 </P>
114 <P class="seven">
115 This sentence should be in a monospace font, not serif.
116 </P>
117 <HR>
118 <DIV class="b">
120 This sentence is normal for the first division, which is the next five sentences; it should be a monospace font.
121 </P>
122 <P class="one">
123 This sentence should be in a serif font.
124 </P>
125 <P class="two">
126 This sentence should be in a sans-serif font.
127 </P>
128 <P class="three">
129 This sentence should be in a cursive font.
130 </P>
131 <P class="four">
132 This sentence should be in a fantasy font.
133 </P>
134 <P class="five">
135 This sentence should be in a monospace font.
136 </P>
137 </DIV>
138 </TD></TR></TABLE></BODY>
139 </HTML>