ic-unit-008-ref.html (1071B)
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 @font-face 11 { 12 font-family: IcTestFullWidth; 13 src: url(/css/css-values/resources/IcTestFullWidth.woff2); 14 } 15 16 div 17 { 18 float: left; 19 font-family: IcTestFullWidth; 20 font-size: 80px; /* arbitrary font size */ 21 line-height: 1.8; /* arbitrary line-height */ 22 } 23 24 div#blue 25 { 26 background-color: blue; 27 color: blue; 28 } 29 30 div#orange 31 { 32 background-color: orange; 33 color: orange; 34 clear: left; 35 } 36 </style> 37 38 <p>Test passes if there is a blue rectangle with the <strong>same width</strong> as an orange rectangle. 39 40 <div id="blue">水水水水水</div> 41 42 <div id="orange">水水水水水</div> 43 44 <!-- 45 46 水 (CJK water ideograph, U+6C34) glyph == 水 47 48 水 (CJK water ideograph, U+6C34) glyph == 水 49 50 -->