Bug 566476 - Form controls are transparent [r=mfinkle]
authorMatt Brubeck <mbrubeck@mozilla.com>
Tue, 18 May 2010 15:16:51 -0400
changeset 66230 924c84ad4791452ea5ca3781fb1b7852a164bb82
parent 66229 d0c98f8cbcec81b140006975475df98cec0fc8e8
child 66231 fdad2822f53a25f9db45834f057750129c1c046a
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)
reviewersmfinkle
bugs566476
Bug 566476 - Form controls are transparent [r=mfinkle]
mobile/chrome/content/content.css
--- a/mobile/chrome/content/content.css
+++ b/mobile/chrome/content/content.css
@@ -86,34 +86,34 @@ html input:not([type="image"]) {
 html select[size],
 html select[multiple],
 html select[size][multiple],
 html textarea,
 html input:not([type="image"]) {
   border-style: solid;
   border-color: #7d7d7d;
   color: #414141;
-  background: -moz-linear-gradient(top, rgba(115,115,115,0.5) 0, rgba(215,215,215,0.5) 3px, rgba(255,255,255,0.2) 16px);
+  background: white -moz-linear-gradient(top, rgba(115,115,115,0.5) 0, rgba(215,215,215,0.5) 3px, rgba(255,255,255,0.2) 16px);
 }
 
 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;
   color: #414141;
-  background: -moz-linear-gradient(top, rgba(255,255,255,0.2) 0, rgba(215,215,215,0.5) 18px, rgba(115,115,115,0.5) 100%);
+  background: white -moz-linear-gradient(top, rgba(255,255,255,0.2) 0, rgba(215,215,215,0.5) 18px, rgba(115,115,115,0.5) 100%);
 }
 
 html input[type="checkbox"] {
-  background: -moz-linear-gradient(top, rgba(115,115,115,0.5) 0, rgba(215,215,215,0.5) 2px, rgba(255,255,255,0.2) 6px);
+  background: white -moz-linear-gradient(top, rgba(115,115,115,0.5) 0, rgba(215,215,215,0.5) 2px, rgba(255,255,255,0.2) 6px);
 }
 
 html input[type="radio"] {
   background: -moz-radial-gradient(6px 6px, cover, rgba(255,255,255,0.2) 3px, rgba(195,195,195,0.5) 5px, rgba(115,115,115,0.5) 100%);
 }
 
 html select {
   border-width: 1px;
@@ -153,16 +153,17 @@ html input[type="checkbox"] {
 }
 
 html select input[type="button"] {
   border-width: 0px !important;
   -moz-border-radius: 0;
   -moz-background-size: 100% 90%;
   color: #414141;
 
+  background-color: transparent;
   background-image: -moz-radial-gradient(bottom left, #bbbbbb 40%, #f5f5f5) !important;
   background-position: -15px center !important;
   background-repeat: no-repeat !important;
   -moz-binding: url("chrome://browser/content/bindings.xml#select-button");
 }
 
 html select input[type="button"] > svg {
   margin-left: -3px;
@@ -173,39 +174,39 @@ html select[size]:focus,
 html select[multiple]:focus,
 html select[size][multiple]:focus,
 html input[type="file"]:focus > input[type="text"],
 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, rgba(27,113,177,0.5) 0, rgba(198,225,246,0.2) 3px, rgba(255,255,255,0.2) 16px);
+  background: white -moz-linear-gradient(top, rgba(27,113,177,0.5) 0, rgba(198,225,246,0.2) 3px, rgba(255,255,255,0.2) 16px);
 }
 
 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;
   border-color: rgb(94,128,153);
-  background: -moz-linear-gradient(top, rgba(255,255,255,0.2) 0, rgba(198,225,256,0.2) 18px, rgba(27,113,177,0.5) 100%);
+  background: white -moz-linear-gradient(top, rgba(255,255,255,0.2) 0, rgba(198,225,256,0.2) 18px, rgba(27,113,177,0.5) 100%);
 }
 
 html input[type="checkbox"]:focus,
 html input[type="radio"]:focus {
   border-color: #99c6e0 !important;
 }
 
 html input[type="checkbox"]:focus {
-  background: -moz-linear-gradient(top, rgba(27,113,177,0.5) 0, rgba(198,225,246,0.2) 2px, rgba(255,255,255,0.2) 6px);
+  background: white -moz-linear-gradient(top, rgba(27,113,177,0.5) 0, rgba(198,225,246,0.2) 2px, rgba(255,255,255,0.2) 6px);
 }
 
 html input[type="radio"]:focus {
   background: -moz-radial-gradient(6px 6px, cover, rgba(255,255,255,0.2) 3px, rgba(198,225,246,0.2) 5px, rgba(27,113,177,0.5) 100%);
 }
 
 /* we need to be specific for selects because the above rules are specific too */
 html textarea[disabled],