font-weight-003

Font-weight set to the keyword 'bolder'

WeasyPrint

This browser

Flags
ahem
Assertion
The 'font-weight' property set to 'bolder' properly sets the font to the next higher bold 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 'bolder'</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 'bolder' properly sets the font to the next higher bold 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: bolder;
20             }
21         </style>
22     </head>
23     <body>
24         <p>Test passes if the blue box is larger than the black box.</p>
25         <div>X</div>
26         <div id="test">X</div>
27     </body>
28 </html>