summaryrefslogtreecommitdiffstats
path: root/layout/reftests/floats/float-in-rtl-slr-4d.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/floats/float-in-rtl-slr-4d.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/layout/reftests/floats/float-in-rtl-slr-4d.html b/layout/reftests/floats/float-in-rtl-slr-4d.html
new file mode 100644
index 0000000000..6fb5e8509b
--- /dev/null
+++ b/layout/reftests/floats/float-in-rtl-slr-4d.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html class="slr">
+<head>
+<style>
+.slr {
+ writing-mode: sideways-lr;
+ direction: rtl;
+}
+</style>
+</head>
+<body>
+ <div>
+ <div dir="ltr" style="inline-size:-moz-fit-content">
+ <div style="height:300px">
+ <div style="height:100px;width:120px;background:rgba(0,255,0,0.8);float:right;"></div>
+ </div>
+ <div style="height:200px">
+ <div style="height:100px;width:150px;background:rgba(255,0,0,0.8);float:right;"></div>
+ </div>
+ </div>
+ <div style="background:silver">
+This text should appear BELOW the red and green blocks.
+ </div>
+ </div>
+</body>
+</html>