summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/button/width-erode-overflow-focuspadding-rtl.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/button/width-erode-overflow-focuspadding-rtl.html')
-rw-r--r--layout/reftests/forms/button/width-erode-overflow-focuspadding-rtl.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/forms/button/width-erode-overflow-focuspadding-rtl.html b/layout/reftests/forms/button/width-erode-overflow-focuspadding-rtl.html
new file mode 100644
index 000000000..b76a3957a
--- /dev/null
+++ b/layout/reftests/forms/button/width-erode-overflow-focuspadding-rtl.html
@@ -0,0 +1,22 @@
+<!DOCTYPE HTML>
+<html dir=rtl>
+<style>
+
+button {
+ -moz-appearance: none;
+ background: yellow;
+ border: 2px solid fuchsia;
+ padding: 2px;
+ font-size: 10px;
+ width: 60px;
+ border-radius: 0; /* override mobile/android/themes/core/content.css */
+}
+
+span {
+ display: inline-block; vertical-align: middle;
+ height: 20px; width: 50px; border: 2px solid blue;
+}
+
+</style>
+
+<button><span></span></button>