line-break-normal-013-ref.xht (1970B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 <head> 5 <title>CSS Reftest Reference</title> 6 <!-- reftest for line-break-normal-013.xht --> 7 <link rel="author" title="Taka Oshiyama" href="mailto:takaoshiyama@gmail.com" /> 8 <link rel="author" title="Shinyu Murakami" href="mailto:murakami@vivliostyle.org" /> 9 <meta http-equiv="content-language" content="en, ja" /> 10 <style type="text/css"> 11 @font-face 12 { 13 font-family: "mplus-1p-regular"; 14 src: url("/fonts/mplus-1p-regular.woff") format("woff"); 15 /* filesize: 803300 bytes (784.5 KBytes) */ 16 /* 17 mplus-1p-regular.ttf can be downloaded at/from [TBD later] 18 */ 19 } 20 p.control { 21 border: 1px solid gray; 22 color: blue; 23 font-family: "mplus-1p-regular"; 24 width: 10.2em; /* added extra .2em for some symbols wider than 1em */ 25 } 26 span.target { 27 background-color: aqua; 28 } 29 div.wrapper { 30 display: inline-block; 31 border: 1px solid; 32 margin: 10px; 33 padding: 10px; 34 } 35 </style> 36 </head> 37 <body lang="en"> 38 <p> 39 Test passes if the highlighted characters in each pair of rectangles are at the exact same horizontal position. 40 </p> 41 <!-- hyphens --> 42 <div class="wrapper"> 43 <p class="control" lang="ja"> 44 <span>サンプル文サンプル文<br /><span class="target">〜</span>サンプル文</span> 45 </p> 46 <p class="control" lang="ja"> 47 <span>サンプル文サンプル文<br /><span class="target">〜</span>サンプル文</span> 48 </p> 49 </div> 50 <div class="wrapper"> 51 <p class="control" lang="ja"> 52 <span>サンプル文サンプル文<br /><span class="target">゠</span>サンプル文</span> 53 </p> 54 <p class="control" lang="ja"> 55 <span>サンプル文サンプル文<br /><span class="target">゠</span>サンプル文</span> 56 </p> 57 </div> 58 </body> 59 </html>