c526-font-sz-001.xht (1496B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: font-size</title> 5 <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/> 6 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 7 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-27 --> 8 <link rel="help" href="http://www.w3.org/TR/REC-CSS1#font-size"/> 9 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-size-props" title="15.7 Font size: the 'font-size' property"/> 10 <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-size-prop" /> 11 <link rel="match" href="c526-font-sz-001-ref.xht" /> 12 13 <meta name="flags" content="ahem" /> 14 15 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 16 <style type="text/css"><![CDATA[ 17 div { color: blue; font: 3.75em/1 Ahem; margin: 0 2em; } 18 .a {font-size: 0.625in;} 19 .b {font-size: 1.5875cm;} 20 .c {font-size: 15.875mm;} 21 .d {font-size: 45pt;} 22 .e {font-size: 3.75pc;} 23 .h {font-size: 60px;} 24 ]]></style> 25 </head> 26 <body> 27 <p>Test passes if there is an uninterrupted smooth column of blue.</p> 28 <div class="a"> x </div> 29 <div class="b"> x </div> 30 <div class="c"> x </div> 31 <div class="d"> x </div> 32 <div class="e"> x </div> 33 <div class="h"> x </div> 34 </body> 35 </html>