font-size-adjust-002.html (1050B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Fonts Test: font-size-adjust - less than aspect value of font</title> 4 <link rel="author" title="Intel" href="http://www.intel.com/"> 5 <link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com"> 6 <link rel="help" title="3.6 Relative sizing: the font-size-adjust property" href="http://www.w3.org/TR/css-fonts-3/#font-size-adjust-prop"> 7 <link rel="match" href="font-size-adjust-002-ref.html"> 8 <meta name="flags" content="Ahem"> 9 <meta name="assert" content="Test checks that the actual font size is less than the specified size when the value of font-size-adjust 10 is less than the aspect value of font"> 11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 12 <style> 13 div { 14 position: absolute; 15 font: 40px/40px Ahem; 16 color: blue; 17 } 18 #test { 19 color: orange; 20 font-size-adjust: 0.2; 21 } 22 </style> 23 <body> 24 <p>Test passes if the size of the blue rectangle is greater than the orange rectangle.</p> 25 <div>FillerText</div> 26 <div id="test">FillerText</div> 27 </body>