summaryrefslogtreecommitdiffstats
path: root/layout/reftests/floats/float-in-rtl-slr-3c.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/floats/float-in-rtl-slr-3c.html')
-rw-r--r--layout/reftests/floats/float-in-rtl-slr-3c.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/floats/float-in-rtl-slr-3c.html b/layout/reftests/floats/float-in-rtl-slr-3c.html
new file mode 100644
index 000000000..5c4669bb4
--- /dev/null
+++ b/layout/reftests/floats/float-in-rtl-slr-3c.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html class="slr">
+<head>
+<style>
+.slr {
+ writing-mode: sideways-lr;
+}
+</style>
+</head>
+<body>
+ <div style="direction: rtl;">
+ <div dir="ltr" style="height:300px">
+ <div style="height:100px;width:120px;background:rgba(0,255,0,0.8);float:left;"></div>
+ </div>
+ <div dir="ltr" style="height:200px">
+ <div style="height:100px;width:150px;background:rgba(255,0,0,0.8);float:left"></div>
+ </div>
+ <div style="background:silver">
+This text should appear ABOVE the green and red blocks.
+ </div>
+ </div>
+</body>
+</html>