summaryrefslogtreecommitdiffstats
path: root/layout/reftests/floats/float-in-rtl-slr-4-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/floats/float-in-rtl-slr-4-ref.html')
-rw-r--r--layout/reftests/floats/float-in-rtl-slr-4-ref.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/reftests/floats/float-in-rtl-slr-4-ref.html b/layout/reftests/floats/float-in-rtl-slr-4-ref.html
new file mode 100644
index 000000000..1696cdd4d
--- /dev/null
+++ b/layout/reftests/floats/float-in-rtl-slr-4-ref.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+.slr {
+ writing-mode: sideways-lr;
+ direction: rtl;
+}
+</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:0"></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="height: calc(100vh - 216px); margin-top: 200px">This text should appear BELOW the red and green blocks.</div>
+ </div>
+ </div>
+</body>
+</html>