ch-unit-011-ref.html (761B)
1 <!DOCTYPE html> 2 3 <meta charset="UTF-8"> 4 5 <title>CSS Values and Units Test Reference File</title> 6 7 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> 8 9 <style> 10 div 11 { 12 float: left; 13 font-size: 80px; /* arbitrary font size */ 14 line-height: 1.8; /* arbitrary line-height */ 15 text-orientation: upright; 16 writing-mode: vertical-rl; 17 } 18 19 div#blue 20 { 21 background-color: blue; 22 color: blue; 23 } 24 25 div#orange 26 { 27 background-color: orange; 28 color: orange; 29 } 30 </style> 31 32 <p>Test passes if there is a blue rectangle with the <strong>same height</strong> as an orange rectangle. 33 34 <div id="blue">00000</div> 35 36 <div id="orange">00000</div>