servo/tests/wpt/css-tests/css-writing-modes-3_dev/html/text-combine-upright-value-all-001.htm

38 lines
No EOL
911 B
HTML

<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Writing Modes: text-combine-upright: all</title>
<link href="https://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/text-combine-upright-value-single-character.htm" rel="match">
<meta content="'text-combine-upright: all' rotates the composition even if tate-chu-yoko" name="assert">
<meta content="font" name="flags">
<style>
@font-face {
font-family: tcu-font;
src: url("support/tcu-font.woff");
}
.test {
writing-mode: vertical-rl;
font-size: 5em;
font-family: tcu-font;
}
.tcy {
text-combine-upright: all;
}
</style>
</head>
<body>
<p>Test passes if there are 2 <strong>identical</strong> white triangles.</p>
<div class="test">
<p><span class="tcy">2</span></p>
<p>3</p>
</div>
</body></html>