summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/button/width-auto-size-em-ltr-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/button/width-auto-size-em-ltr-ref.html')
-rw-r--r--layout/reftests/forms/button/width-auto-size-em-ltr-ref.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/forms/button/width-auto-size-em-ltr-ref.html b/layout/reftests/forms/button/width-auto-size-em-ltr-ref.html
new file mode 100644
index 0000000000..4a998c3435
--- /dev/null
+++ b/layout/reftests/forms/button/width-auto-size-em-ltr-ref.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+<style>
+
+div.button {
+ display: inline-block;
+ background: yellow;
+ border: 2px solid fuchsia;
+ padding: 2px;
+}
+
+span {
+ display: inline-block; vertical-align: middle;
+ height: 2em; width: 5em; border: 2px solid blue;
+}
+
+</style>
+
+<div class=button><span></span></div>