summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/button/width-auto-size-em-ltr.html
blob: 3285c3e9551ed3a9f2c58a0e68b1eed451b7d6b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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>