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