line-break-strict-015b-ref.xht (2076B)
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-strict-015.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 <div class="wrapper"> 42 <!-- inseparable characters TWO DOT LEADER --> 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 <!-- inseparable characters HORIZONTAL ELLIPSIS --> 52 <p class="control" lang="ja"> 53 <span>サンプルサンプ<br />ル。<span class="target">……</span>サンプル文</span> 54 </p> 55 <p class="control" lang="ja"> 56 <span>サンプルサンプ<br />ル。<span class="target">……</span>サンプル文</span> 57 </p> 58 </div> 59 </body> 60 </html>