Files
servo/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/reference/text-combine-horizontal-010-ref.xht

50 lines
1.7 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Reftest Reference</title>
<style type="text/css">
@page { font: italic 8pt sans-serif; color: gray;
margin: 7%;
counter-increment: page;
@top-left { content: "CSS Writing Modes Module Level 3 CR Test Suite"; }
@top-right { content: "Test text-combine-horizontal-010-ref"; }
@bottom-right { content: counter(page); }
}
</style>
<!-- reftest for text-combine-horizontal-010.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]
*/
}
div
{
border: 1px solid gray;
font-family: "mplus-1p-regular";
font-size: 1.5em;
line-height: 2;
width: 4em;
writing-mode: vertical-rl;
-webkit-writing-mode: vertical-rl;
}
.control
{
text-orientation: mixed;
-webkit-text-orientation: mixed;
}
</style>
</head>
<body lang="en">
<p>Test passes if the upper block is <strong>identical</strong> to the lower block, including orientation of each character.</p>
<div class="control" lang="ja">1月2日の次の日は、<br/>1月3日です。</div>
<hr/>
<div class="control" lang="ja">1月2日の次の日は、<br/>1月3日です。</div>
</body>
</html>