font-weight-008

Font-weight set to the numerical value, 400

WeasyPrint

This browser

Assertion
The 'font-weight' property set to '400' properly sets the font to the correct bold rendering.

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 numerical value, 400</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="">
 9         <meta name="assert" content="The 'font-weight' property set to '400' properly sets the font to the correct bold rendering.">
10         <style type="text/css">
11             div
12             {
13                 color: red;
14                 font-size: 2in;
15                 line-height: 1em;
16                 position: absolute;
17             }
18             #test
19             {
20                 color: black;
21                 font-weight: bold;
22                 font-weight: 400;
23             }
24         </style>
25     </head>
26     <body>
27         <p>Test passes if there is no red visible on the page.</p>
28         <div>Filler Text</div>
29         <div id="test">Filler Text</div>
30     </body>
31 </html>