summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/button/width-auto-size-em-rtl-ref.html
blob: 1214714744d7a2d3e6f057e9bada46e7d973091f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE HTML>
<html dir=rtl>
<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;
  margin: 1px 3px; /* for implicit focuspadding */
}

</style>

<div class=button><span></span></div>