servo/tests/wpt/css-tests/css-text-3_dev/html/reference/line-break-strict-015-ref.htm

49 lines
No EOL
1.6 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Reftest Reference</title>
<!-- reftest for line-break-strict-015.xht -->
<link rel="author" title="Taka Oshiyama" href="mailto:takaoshiyama@gmail.com">
<meta http-equiv="content-language" content="en, ja">
<style type="text/css">
@font-face
{
font-family: "mplus-1p-regular";
src: url("../support/mplus-1p-regular.woff") format("woff");
/* filesize: 803300 bytes (784.5 KBytes) */
/*
mplus-1p-regular.ttf can be downloaded at/from [TBD later]
*/
}
p.control {
border: 1px solid gray;
color: blue;
font-family: "mplus-1p-regular";
width: 10em;
}
span.target {
background-color: aqua;
}
</style>
</head>
<body lang="en">
<p>
Test passes if the highlighted characters in each pair of rectangles are at the exact same horizontal position.
</p>
<!-- inseparable characters TWO DOT LEADER -->
<p class="control" lang="ja">
<span>サンプル文サンプル<br><span class="target"></span>サンプル文</span>
</p>
<p class="control" lang="ja">
<span>サンプル文サンプル<br><span class="target"></span>サンプル文</span>
</p>
<hr>
<!-- inseparable characters HORIZONTAL ELLIPSIS -->
<p class="control" lang="ja">
<span>サンプル文サンプル<br><span class="target"></span>サンプル文</span>
</p>
<p class="control" lang="ja">
<span>サンプル文サンプル<br><span class="target"></span>サンプル文</span>
</p>
</body>
</html>