layout/reftests/forms/select/vertical-centering-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/forms/select/vertical-centering-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +<!DOCTYPE html>
     1.5 +<style>
     1.6 +  @font-face {
     1.7 +    font-family: "Ahem";
     1.8 +    src: url(../../fonts/Ahem.ttf);
     1.9 +  }
    1.10 +  select {
    1.11 +    -moz-appearance: none;
    1.12 +    border: none;
    1.13 +    font-family: Ahem;
    1.14 +    font-size: 20px;
    1.15 +    box-sizing: content-box;
    1.16 +    /*
    1.17 +     * Why are these top/bottom paddings 7px rather than 10px?  1px each is
    1.18 +     * eaten up by padding on the combobox display area, but I have no idea
    1.19 +     * where the extra 4px somewhere else are coming from...
    1.20 +     */
    1.21 +    padding: 7px 0 7px 0;
    1.22 +  }
    1.23 +</style>
    1.24 +<select>
    1.25 +  <option>X</option>
    1.26 +</select>

mercurial