font-weight-001.xht (1334B)
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-weight set to the keyword 'normal'</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-weight" /> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-boldness" /> 8 <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-weight-prop" /> 9 <meta name="flags" content="ahem" /> 10 <meta name="assert" content="The 'font-weight' property set to 'normal' properly sets the font to the normal weight rendering of the font." /> 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style type="text/css"> 13 div 14 { 15 font: 1in Ahem; 16 line-height: 1em; 17 } 18 #test 19 { 20 color: blue; 21 font-weight: bold; 22 font-weight: normal; 23 } 24 </style> 25 </head> 26 <body> 27 <p>Test passes if the blue box and the black box are the same size.</p> 28 <div>X</div> 29 <div id="test">X</div> 30 </body> 31 </html>