summaryrefslogtreecommitdiffstats
path: root/layout/reftests/floats/float-in-rtl-slr-3-ref.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /layout/reftests/floats/float-in-rtl-slr-3-ref.html
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/floats/float-in-rtl-slr-3-ref.html')
-rw-r--r--layout/reftests/floats/float-in-rtl-slr-3-ref.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/floats/float-in-rtl-slr-3-ref.html b/layout/reftests/floats/float-in-rtl-slr-3-ref.html
new file mode 100644
index 0000000000..4c99aa543c
--- /dev/null
+++ b/layout/reftests/floats/float-in-rtl-slr-3-ref.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+.slr {
+ writing-mode: sideways-lr;
+}
+</style>
+</head>
+<body>
+ <div>
+ <div style="height:0px;width:0px;overflow:visible">
+ <div style="height:100px;width:120px;background:rgba(0,255,0,0.8);display:inline-block;margin-top:200px;"></div>
+ </div>
+ <div style="height:0px;width:0px;overflow:visible">
+ <div style="height:100px;width:150px;background:rgba(255,0,0,0.8);display:inline-block;margin-top:100px;"></div>
+ </div>
+ <div class="slr" style="background:silver; height:calc(100vh - 16px);">
+ <div style="margin-bottom:calc(100vh - 116px); direction:rtl">This text should appear ABOVE the green and red blocks.</div>
+ </div>
+ </div>
+</body>
+</html>