summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/button/width-erode-part-focuspadding-rtl.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/button/width-erode-part-focuspadding-rtl.html')
-rw-r--r--layout/reftests/forms/button/width-erode-part-focuspadding-rtl.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/forms/button/width-erode-part-focuspadding-rtl.html b/layout/reftests/forms/button/width-erode-part-focuspadding-rtl.html
new file mode 100644
index 000000000..9b8826938
--- /dev/null
+++ b/layout/reftests/forms/button/width-erode-part-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: 66px;
+ 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>