summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/button/width-auto-size-em-ltr.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/button/width-auto-size-em-ltr.html')
-rw-r--r--layout/reftests/forms/button/width-auto-size-em-ltr.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/reftests/forms/button/width-auto-size-em-ltr.html b/layout/reftests/forms/button/width-auto-size-em-ltr.html
new file mode 100644
index 000000000..3285c3e95
--- /dev/null
+++ b/layout/reftests/forms/button/width-auto-size-em-ltr.html
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML>
+<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>