summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1130231-1-button-padding-rtl.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/1130231-1-button-padding-rtl.html')
-rw-r--r--layout/reftests/bugs/1130231-1-button-padding-rtl.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1130231-1-button-padding-rtl.html b/layout/reftests/bugs/1130231-1-button-padding-rtl.html
new file mode 100644
index 000000000..2783af054
--- /dev/null
+++ b/layout/reftests/bugs/1130231-1-button-padding-rtl.html
@@ -0,0 +1,32 @@
+<!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;
+ }
+ </style>
+</head>
+<html>
+<body>
+<div>
+ <button class="inner">|button|</button>
+</div>
+<div dir=rtl>
+ <button class="inner">|button|</button>
+</div>
+</body>
+</html>