c526-font-sz-001

font-size

WeasyPrint

This browser

Flags
ahem

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-size</title>
 5   <meta name="flags" content="ahem">
 6   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#font-size">
 7   <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
 8   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 9   <style type="text/css">
10    div { color: navy; font: 1em/1 Ahem; margin: 0 2em; }
11    .a {font-size: 0.5in;}
12    .b {font-size: 1.27cm;}
13    .c {font-size: 12.7mm;}
14    .d {font-size: 36pt;}
15    .e {font-size: 3pc;}
16    .h {font-size: 48px;}
17   </style>
18   <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-size-props" title="15.7 Font size: the 'font-size' property">
19  </head>
20  <body>
21   <p>There should be a solid single uninterrupted smooth column of blue below.</p>
22   <div class="a"> x </div>
23   <div class="b"> x </div>
24   <div class="c"> x </div>
25   <div class="d"> x </div>
26   <div class="e"> x </div>
27   <div class="h"> x </div>
28  </body>
29 </html>