font-size-adjust-002-ref.html (506B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Fonts Reference: font-size-adjust - less than aspect value of font</title> 4 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 5 <style> 6 div { 7 position: absolute; 8 font: 40px/40px Ahem; 9 color: blue; 10 } 11 #test { 12 color: orange; 13 font-size: 10px; 14 } 15 </style> 16 <body> 17 <p>Test passes if the size of the blue rectangle is greater than the orange rectangle.</p> 18 <div>FillerText</div> 19 <div id="test">FillerText</div> 20 </body>