servo/tests/wpt/css-tests/css-writing-modes-3_dev/xhtml1print/text-combine-upright-compression-007.xht

25 lines
No EOL
1.1 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="ja" xmlns="http://www.w3.org/1999/xhtml"><head>
<meta charset="UTF-8" />
<title>CSS Test: text-combine-upright: all, fit any number of characters</title>
<link href="https://www.upsuper.org" rel="author" title="Xidorn Quan" />
<link href="https://drafts.csswg.org/css-writing-modes-3/#text-combine-compression" rel="help" />
<link href="reference/text-combine-upright-compression-007-ref.xht" rel="match" />
<meta content="text-combine-upright: all should allow any amount of text to be compressed in a 1em square" name="assert" />
<link href="support/width-test.css" rel="stylesheet" />
<link href="support/tcy.css" rel="stylesheet" />
<style>
.test { writing-mode: vertical-rl; height: 3.5em; }
.test &gt; p { border: 1px solid black; }
.tcy { color: transparent; }
</style>
</head>
<body>
<p>Test passes if the contents in the two blocks are identical.</p>
<div class="test">
<p><span class="tcy">ニ三四五六七八九</span></p>
<p><span class="fake-tcy"></span></p>
</div>
</body></html>