summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/select/vertical-centering-ref.html
blob: f5d85545639d1e8c0e8c1992d0ce75d2394d9206 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<style>
  @font-face {
    font-family: "Ahem";
    src: url(../../fonts/Ahem.ttf);
  }
  select {
    -moz-appearance: none;
    border: none;
    font-family: Ahem;
    font-size: 20px;
    box-sizing: content-box;
    /*
     * Why are these top/bottom paddings 7px rather than 10px?  1px each is
     * eaten up by padding on the combobox display area, but I have no idea
     * where the extra 4px somewhere else are coming from...
     */
    padding: 7px 0 7px 0;
  }
</style>
<select>
  <option>X</option>
</select>