summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/text-combine-upright-compression-002.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-writing-modes/text-combine-upright-compression-002.html')
-rw-r--r--testing/web-platform/tests/css/css-writing-modes/text-combine-upright-compression-002.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-writing-modes/text-combine-upright-compression-002.html b/testing/web-platform/tests/css/css-writing-modes/text-combine-upright-compression-002.html
new file mode 100644
index 0000000000..2be48da2d3
--- /dev/null
+++ b/testing/web-platform/tests/css/css-writing-modes/text-combine-upright-compression-002.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html lang="ja">
+<head>
+<meta charset="UTF-8">
+<title>CSS Test: text-combine-upright, compression of two characters</title>
+<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org">
+<link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#text-combine-compression">
+<link rel="match" href="text-combine-upright-compression-002-ref.html">
+<meta name="assert" content="text-combine-upright should try applying 'hwid' feature if the width is wider than 1em">
+<link rel="stylesheet" href="support/width-test.css">
+<link rel="stylesheet" href="support/tcy.css">
+<style>
+.test { writing-mode: vertical-rl; }
+.test > p { border: 1px solid black; }
+</style>
+</head>
+<body>
+<p>Test passes if there are two identical graphs in the blocks below.</p>
+<div class="test">
+ <p><span class="tcy">00</span></p>
+ <p><span class="fake-tcy">22</span></p>
+</div>
+</body>
+</html>