font-weight-001

Font-weight set to the keyword 'normal'

WeasyPrint

This browser

Flags
ahem
Assertion
The 'font-weight' property set to 'normal' properly sets the font to the normal weight rendering of the font.

Source

 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-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         <meta name="flags" content="ahem">
 9         <meta name="assert" content="The 'font-weight' property set to 'normal' properly sets the font to the normal weight rendering of the font.">
10         <style type="text/css">
11             div
12             {
13                 font: 1in Ahem;
14                 line-height: 1em;
15             }
16             #test
17             {
18                 color: blue;
19                 font-weight: bold;
20                 font-weight: normal;
21             }
22         </style>
23     </head>
24     <body>
25         <p>Test passes if the blue box and the black box are the same size.</p>
26         <div>X</div>
27         <div id="test">X</div>
28     </body>
29 </html>