ch-unit-009-ref.html (728B)
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 writing-mode: vertical-rl; 16 } 17 18 div#blue 19 { 20 background-color: blue; 21 color: blue; 22 } 23 24 div#orange 25 { 26 background-color: orange; 27 color: orange; 28 } 29 </style> 30 31 <p>Test passes if there is a blue rectangle with the <strong>same height</strong> as an orange rectangle. 32 33 <div id="blue">00000</div> 34 35 <div id="orange">00000</div>