line-breaking-ic-001-ref.html (1027B)
1 <!doctype html> 2 <html> 3 <meta charset="utf-8"> 4 <title>Reference File for line breaking tests using ideographic caracters</title> 5 <link rel=author title="Florian Rivoal" href="http://florian.rivoal.net"> 6 <!-- 7 As 口 is as a CJK ideograph, its advance is expected to be 1em, 8 and as both background and color are green 9 this file should typically render identically to line-breaking-001-ref. 10 However, depending on the particular font available, 11 the glyph could be missing or sized differently. 12 13 Also, there may be and anti-aliasing / font rendering differences between 14 a 1em × 1em green background (this file) 15 and a 1em × 1em green glyph from the Ahem font (line-breaking-001-ref). 16 17 Therefore, as both files are only likely, not certain, to render identically, 18 we need both. 19 --> 20 <style> 21 div { 22 color: green; 23 background :green; 24 line-height: 1em; 25 width: 1em; 26 font-size: 20px; 27 } 28 </style> 29 <body> 30 <p>There should be a green rectangle and no red.</p> 31 <div>口<br>口</div> 32 </body> 33 </html>