1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Font shorthand set using the values font-variant, font-size and font-family</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#propdef-font">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-shorthand">
8 <meta name="flags" content="">
9 <meta name="assert" content="The 'font' shorthand property accepts and sets font-variant, font-size and font-family.">
10 <style type="text/css">
11 div
12 {
13 font: 1in serif;
14 }
15 span
16 {
17 font: small-caps 1in serif;
18 line-height: 1em;
19 }
20 </style>
21 </head>
22 <body>
23 <p>Test passes if letters "E" below are larger than this text, are capitalized, and if the left "E" is smaller than the right "E".</p>
24 <div><span>e</span>E</div>
25 </body>
26 </html>