summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/508816-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/508816-2.html')
-rw-r--r--layout/reftests/bugs/508816-2.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/bugs/508816-2.html b/layout/reftests/bugs/508816-2.html
new file mode 100644
index 000000000..cd71a1bd5
--- /dev/null
+++ b/layout/reftests/bugs/508816-2.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style type="text/css">
+ body { padding-right: 100px; }
+ div { border: 1px solid purple; overflow-x: scroll; overflow-y: hidden; width: 300px; margin: 0 50px 0 0; padding: 0; }
+ span { display: inline-block; height: 50px; margin: 0; }
+ </style>
+</head>
+<body dir="rtl">
+ <div style="display: -moz-box;">
+ <span style="background: green; width: 50px; position: fixed; margin-inline-start: -50px"></span>
+ <span style="background: yellow; width: 400px; overflow: hidden"></span>
+ </div>
+</body>
+</html>