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