summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/508816-1.xul
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/508816-1.xul')
-rw-r--r--layout/reftests/bugs/508816-1.xul23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/bugs/508816-1.xul b/layout/reftests/bugs/508816-1.xul
new file mode 100644
index 000000000..7453349b2
--- /dev/null
+++ b/layout/reftests/bugs/508816-1.xul
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<!DOCTYPE window>
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" title="RTL overflow test" width="640px" height="480px" style="direction: rtl">
+
+<hbox style="max-width: 200px; border: 1px solid red;">
+<scrollbox align="start" pack="start" orient="horizontal" flex="1">
+ <button label="test1"/><button label="test2"/><button label="test3"/><button label="test4"/><button label="test5"/>
+</scrollbox>
+</hbox>
+
+<hbox style="max-width: 200px; border: 1px solid blue">
+<arrowscrollbox align="start" pack="start" orient="horizontal" flex="1">
+ <button label="test1"/><button label="test2"/><button label="test3"/><button label="test4"/><button label="test5"/>
+</arrowscrollbox>
+</hbox>
+
+<hbox style="max-width: 200px; border: 1px solid black">
+<hbox align="end" pack="end" flex="1">
+ <button label="test1"/><button label="test2"/><button label="test3"/><button label="test4"/><button label="test5"/>
+</hbox>
+</hbox>
+
+</window>