Bug 564299 - Multiple select can have scrollbars [r=vingtetun]
authorMark Finkle <mfinkle@mozilla.com>
Mon, 10 May 2010 23:22:34 -0400
changeset 66215 0e0707fd9a3a58aee28816a95489695b41c60a4f
parent 66214 84fd28bcfcc4b951034f443af69c334a9d3884e0
child 66216 f68387942a828aa51d97a63c2009eee55efb7435
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvingtetun
bugs564299
Bug 564299 - Multiple select can have scrollbars [r=vingtetun]
mobile/chrome/content/content.css
--- a/mobile/chrome/content/content.css
+++ b/mobile/chrome/content/content.css
@@ -63,19 +63,19 @@ scrollbarbutton {
 thumb {
   min-width: 10px !important;
   -moz-appearance: none !important;
   background-color: gray !important;
   border: 1px solid gray !important;
   -moz-border-radius: 4px !important;
 }
 
-select:not([size]) > scrollbar,
+select:not([size]):not([multiple]) > scrollbar,
 select[size="1"] > scrollbar,
-select:not([size]) scrollbarbutton,
+select:not([size]):not([multiple]) scrollbarbutton,
 select[size="1"] scrollbarbutton {
   display: block !important;
 }
 
 /* Override inverse OS themes */
 html select,
 html button,
 html textarea,
@@ -89,17 +89,17 @@ html select[size][multiple],
 html textarea,
 html input:not([type="image"]) {
   border-style: solid;
   border-color: #7d7d7d;
   color: #414141;
   background: -moz-linear-gradient(top, rgb(185,185,185) 0, rgb(235,235,235) 3px, rgb(255,255,255) 16px);
 }
 
-html select:not([size]),
+html select:not([size]):not([multiple]),
 html select[size="0"],
 html select[size="1"],
 html input[type="button"],
 html input[type="submit"],
 html input[type="reset"],
 html button {
   border-style: solid;
   border-color: #7d7d7d;
@@ -115,17 +115,17 @@ html input[type="radio"] {
   background: -moz-radial-gradient(6px 6px, cover, rgb(255,255,255) 3px, rgb(225,225,225) 5px, rgb(185,185,185) 100%);
 }
 
 html select {
   border-width: 1px;
   padding: 1px;
 }
 
-html select:not([size]),
+html select:not([size]):not([multiple]),
 html select[size="0"],
 html select[size="1"] {
   padding: 2px 1px 2px 1px;
 }
 
 html input:not([type="image"]),
 html textarea {
   border-width: 1px;
@@ -172,17 +172,17 @@ html input[type="file"]:focus > input[ty
 html textarea:focus,
 html input:not([type="image"]):focus {
   outline: 0px !important;
   border-style: solid;
   border-color: rgb(94,128,153);
   background: -moz-linear-gradient(top, rgb(141,184,216) 0, rgba(198,225,246,0.2) 3px, rgb(255,255,255) 16px);
 }
 
-html select:not([size]):focus,
+html select:not([size]):not([multiple]):focus,
 html select[size="0"]:focus,
 html select[size="1"]:focus,
 html input[type="button"]:focus,
 html input[type="submit"]:focus,
 html input[type="reset"]:focus,
 html button:focus {
   outline: 0px !important;
   border-style: solid;