summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1117227-1-text-overflow-ref.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /layout/reftests/writing-mode/1117227-1-text-overflow-ref.html
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/writing-mode/1117227-1-text-overflow-ref.html')
-rw-r--r--layout/reftests/writing-mode/1117227-1-text-overflow-ref.html56
1 files changed, 56 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1117227-1-text-overflow-ref.html b/layout/reftests/writing-mode/1117227-1-text-overflow-ref.html
new file mode 100644
index 0000000000..41b3d42e39
--- /dev/null
+++ b/layout/reftests/writing-mode/1117227-1-text-overflow-ref.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title>Bug 1117227 - text-overflow on vertical text</title>
+ <style>
+ @font-face {
+ font-family: DejaVuSansMono;
+ src: url(../fonts/DejaVuSansMono.woff);
+ }
+ body {
+ font: 16px DejaVuSansMono;
+ text-orientation: sideways-right;
+ white-space: nowrap;
+ }
+ .c {
+ block-size: 3em; inline-size: 4em;
+ overflow: hidden;
+ }
+ .vlr { writing-mode: vertical-lr; }
+ .vrl { writing-mode: vertical-rl; }
+ .t { margin-inline-start: -1em; }
+ m { display: inline-block; }
+
+ #tests { position: relative; }
+ #tests > div { position: absolute; }
+ .r1 { top: 0em; }
+ .r2 { top: 4.5em; }
+ .c1 { left: 0em; }
+ .c2 { left: 4em; }
+ .c3 { left: 8em; }
+ .c4 { left: 12em; }
+ .c5 { left: 16em; }
+ .c6 { left: 20em; }
+ </style>
+</head>
+<body>
+ <p style="font-family: sans-serif">Test for text-overflow in vertical mode:</p>
+
+ <div id="tests">
+ <div class="r1 c1"><div class="c vrl"><span class="t">&nbsp;123456<m>&hellip;</m></span></div></div>
+ <div class="r1 c2"><div class="c vlr"><span class="t">&nbsp;123456<m>&hellip;</m></span></div></div>
+ <div class="r1 c3"><div class="c vrl"><span class="t">&nbsp;&nbsp;<m>&hellip;</m>3456<m>&hellip;</m></span></div></div>
+ <div class="r1 c4"><div class="c vlr"><span class="t">&nbsp;&nbsp;<m>&hellip;</m>3456<m>&hellip;</m></span></div></div>
+ <div class="r1 c5"><div class="c vrl"><span class="t">&nbsp;&nbsp;<m>&hellip;</m>345678&nbsp;</span></div></div>
+ <div class="r1 c6"><div class="c vlr"><span class="t">&nbsp;&nbsp;<m>&hellip;</m>345678&nbsp;</span></div></div>
+
+ <div class="r2 c1"><div class="c vrl"><span class="t">&nbsp;123456<m>$</m></span></div></div>
+ <div class="r2 c2"><div class="c vlr"><span class="t">&nbsp;123456<m>$</m></span></div></div>
+ <div class="r2 c3"><div class="c vrl"><span class="t">&nbsp;&nbsp;<m>^</m>3456<m>$</m></span></div></div>
+ <div class="r2 c4"><div class="c vlr"><span class="t">&nbsp;&nbsp;<m>^</m>3456<m>$</m></span></div></div>
+ <div class="r2 c5"><div class="c vrl"><span class="t">&nbsp;&nbsp;<m>^</m>3456<m>&hellip;</m></span></div></div>
+ <div class="r2 c6"><div class="c vlr"><span class="t">&nbsp;&nbsp;<m>^</m>3456<m>&hellip;</m></span></div></div>
+ </div>
+</body>
+</html>