c526-font-sz-002.xht (1351B)
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-002-ref.xht" /> 12 13 <meta name="flags" content="ahem" /> 14 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 15 <style type="text/css"><![CDATA[ 16 .ahem { font: 1.25em/1 Ahem; color: blue; } 17 .f {font-size: 2em;} 18 .g {font-size: 2.5ex;} 19 .i {font-size: 200%;} 20 ]]></style> 21 </head> 22 <body> 23 <p>Test passes if there is a short uninterrupted smooth column of blue.</p> 24 <div class="ahem"> 25 <div class="f"> x </div> 26 <div class="g"> x </div> 27 <div class="i"> x </div> 28 </div> 29 </body> 30 </html>