summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1083848-3-inline-background-repeat-ref.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
commit0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch)
treea31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /layout/reftests/writing-mode/1083848-3-inline-background-repeat-ref.html
parentInitial commit. (diff)
downloadfirefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz
firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/writing-mode/1083848-3-inline-background-repeat-ref.html')
-rw-r--r--layout/reftests/writing-mode/1083848-3-inline-background-repeat-ref.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1083848-3-inline-background-repeat-ref.html b/layout/reftests/writing-mode/1083848-3-inline-background-repeat-ref.html
new file mode 100644
index 0000000000..cc93be8f51
--- /dev/null
+++ b/layout/reftests/writing-mode/1083848-3-inline-background-repeat-ref.html
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<style>
+@font-face {
+ font-family: dejavu;
+ src: url(../fonts/DejaVuSansMono.woff);
+}
+.test {
+ margin: 10px;
+ border: 1px solid gray;
+ font: 16px/24px dejavu;
+ word-break: break-all;
+ width: 10em;
+ height: 6.5em;
+ /* we use text-orientation:upright to improve the chances that our
+ glyphs will have an advance of exactly 1em, as the reference
+ rendering relies on this */
+ text-orientation: upright;
+ color: rgba(0,0,255,0.2);
+}
+
+.v-lr { writing-mode:vertical-lr; }
+.v-rl { writing-mode:vertical-rl; }
+
+.c { background: cyan; }
+.b { background: blue; }
+</style>
+</head>
+
+<body>
+
+<div class="test v-lr">ABCD<span class="c">E</span><span class="b">F</span><span
+ class="c">G</span><span class="b">H</span><span class="c">I</span><span
+ class="b">J</span><span class="c">K</span><span class="b">L</span><span
+ class="c">M</span><span class="b">N</span><span class="c">O</span><span
+ class="b">P</span><span class="c">Q</span><span class="b">R</span><span
+ class="c">S</span><span class="b">T</span><span class="c">U</span>VWXYZ</div>
+
+<div class="test v-rl">ABCD<span class="c">E</span><span class="b">F</span><span
+ class="c">G</span><span class="b">H</span><span class="c">I</span><span
+ class="b">J</span><span class="c">K</span><span class="b">L</span><span
+ class="c">M</span><span class="b">N</span><span class="c">O</span><span
+ class="b">P</span><span class="c">Q</span><span class="b">R</span><span
+ class="c">S</span><span class="b">T</span><span class="c">U</span>VWXYZ</div>
+
+</body>
+</html>