servo/tests/wpt/css-tests/css-writing-modes-3_dev/html/value-digit2-and-inherit-001.htm

39 lines
No EOL
1.3 KiB
HTML

<!DOCTYPE html>
<html><head>
<title>CSS Writing Modes Test: text-combine-upright :digit2</title>
<link href="mailto:shinsuke.matsuki@access-company.com" rel="author" title="Shinsuke Matsuki">
<link href="http://www.w3.org/TR/css-writing-modes-3/#text-combine-upright" rel="help">
<link href="reference/value-digit2-and-inherit-001-ref.htm" rel="match">
<meta content="Two white triangles does not pointing to the right. Pointing up." name="assert">
<meta charset="utf-8">
<style type="text/css">
@font-face {
font-family: 'tcu-font';
src: url('../support/tcu-font.woff');
}
.tcu-all {
font-family: 'tcu-font';
writing-mode: vertical-rl;
text-combine-upright: digit 2;
}
</style>
</head>
<body>
<p>Test passes if the two white triangles are pointing to the right.</p>
<div class="tcu-all">
<table>
<tbody><tr>
<td>
<div style="display: inline-table">
<div style="display: inline-block">
<p>2<span>2</span></p>
</div>
</div>
</td>
</tr>
</tbody></table>
</div>
</body></html>