font-family-applies-to-003.xht (1370B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: Font-family and 'display: list-item' elements</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-12-15 --> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#propdef-font-family" /> 8 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-family-prop" /> 9 <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-family-prop"/> 10 <meta name="flags" content="ahem" /> 11 <meta name="assert" content="The 'font-family' property applies to 'display: list-item' elements." /> 12 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 13 <style type="text/css"> 14 body 15 { 16 margin-left: 2em; 17 } 18 div 19 { 20 display: list-item; 21 font-family: Ahem; 22 } 23 </style> 24 </head> 25 <body> 26 <p>Test passes if there is a small black square and a marker bullet on its left-hand side.</p> 27 <div>X</div> 28 </body> 29 </html>