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 Matching Algorithm, Match 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#algorithm">
7 <meta name="flags" content="ahem">
8 <meta name="assert" content="If font property match then use the font specified by font-family, if font property doesn't match, don't even try to match font-family.">
9 <style type="text/css">
10 #wrapper
11 {
12 font-style: italic;
13 }
14 div
15 {
16 font-family: Ahem;
17 }
18 </style>
19 </head>
20 <body>
21 <p>Test passes if the box below slants to one side.</p>
22 <div id="wrapper">
23 <div>X</div>
24 </div>
25 </body>
26 </html>