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

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

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

mercurial