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