summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1130231-2-button-padding-rtl-ref.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/1130231-2-button-padding-rtl-ref.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1130231-2-button-padding-rtl-ref.html b/layout/reftests/bugs/1130231-2-button-padding-rtl-ref.html
new file mode 100644
index 0000000000..2b7b24c661
--- /dev/null
+++ b/layout/reftests/bugs/1130231-2-button-padding-rtl-ref.html
@@ -0,0 +1,36 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>Bug 1130231</title>
+ <style type="text/css">
+ div {
+ width: 300px;
+ height: 50px;
+ border: 1px solid blue;
+ margin: 10px;
+ padding: 2px;
+ }
+ .inner {
+ padding-left: 100px;
+ padding-right: 50px;
+ border: 5px solid black;
+ border-left: 20px solid red;
+ border-right: 10px solid green;
+ }
+ .right {
+ padding-right: 100px;
+ padding-left: 50px;
+ }
+ </style>
+</head>
+<html>
+<body>
+<div>
+ <button class="inner">|button|</button>
+</div>
+<div style="text-align:right">
+ <button class="inner right">|button|</button>
+</div>
+</body>
+</html>