summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1395926-vertical-upright-gpos-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/writing-mode/1395926-vertical-upright-gpos-1.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1395926-vertical-upright-gpos-1.html b/layout/reftests/writing-mode/1395926-vertical-upright-gpos-1.html
new file mode 100644
index 0000000000..2f6f46fd38
--- /dev/null
+++ b/layout/reftests/writing-mode/1395926-vertical-upright-gpos-1.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+
+<style>
+@font-face { font-family: Charis; src: url(../fonts/sil/CharisSIL-R.ttf); }
+div { writing-mode: vertical-rl; text-orientation: upright; }
+p { position: absolute; top: 50px; color: red; }
+.times { font: 36px Times New Roman, DejaVu Serif, serif; letter-spacing: .25em; left: 50px; }
+.arial { font: 36px Arial, DejaVu Sans, sans-serif; letter-spacing: .25em; left: 150px; }
+.charis { font: 36px Charis, serif; letter-spacing: .25em; left: 250px; }
+.overlay { color: transparent; background: green; }
+</style>
+
+Red diacritics should <i>not</i> extend beyond the green boxes:
+
+<div>
+<p class="times">&nbsp;A&#x315;b&#x323;&#x329;c&#x32d;d&#x305;e&#x309;&#x306;&#x308;
+<p class="times overlay">&nbsp;A&#x315;b&#x323;&#x329;c&#x32d;d&#x305;e&#x309;&#x306;&#x308;
+<p class="arial">&nbsp;A&#x315;b&#x323;&#x329;c&#x32d;d&#x305;e&#x309;&#x306;&#x308;
+<p class="arial overlay">&nbsp;A&#x315;b&#x323;&#x329;c&#x32d;d&#x305;e&#x309;&#x306;&#x308;
+<p class="charis">&nbsp;A&#x315;b&#x323;&#x329;c&#x32d;d&#x305;e&#x309;&#x306;&#x308;
+<p class="charis overlay">&nbsp;A&#x315;b&#x323;&#x329;c&#x32d;d&#x305;e&#x309;&#x306;&#x308;
+</div>