servo/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/writing-mode-horizontal-001r.xht

32 lines
No EOL
946 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta charset="utf-8" />
<title>CSS Writing Modes: text-combine-upright in horizontal writing mode</title>
<link href="http://google.com/+MasatakaYakura" rel="author" title="Masataka Yakura" />
<link href="http://www.w3.org/TR/css-writing-modes-3/#text-combine-upright" rel="help" />
<link href="reference/writing-mode-horizontal-001r-ref.xht" rel="match" />
<meta content="text-combine-upright does not have an effect in horizontal writing modes." name="assert" />
<style>
.test {
writing-mode: horizontal-tb;
font-size: 5em;
line-height: 1;
direction: rtl;
}
.tcy {
text-combine-upright: all;
}
</style>
</head>
<body>
<p>Test passes if the following texts are identical:</p>
<div class="test">
<p><span class="tcy">2014</span></p>
<p>2014</p>
</div>
</body></html>