ic-unit-009-ref.html (1086B)
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 writing-mode: vertical-rl; 23 } 24 25 div#blue 26 { 27 background-color: blue; 28 color: blue; 29 } 30 31 div#orange 32 { 33 background-color: orange; 34 color: orange; 35 } 36 </style> 37 38 <p>Test passes if there is a blue rectangle with the <strong>same height</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 -->