Bug 418833 - Get rid of some padding rules for checkbox and radio on Fennec that were never being applied. r=snorp
authorMike Conley <mconley@mozilla.com>
Fri, 18 Nov 2016 13:28:49 -0500
changeset 323630 61f417a156acbbbc976bffd3dd96c7f545a5268b
parent 323629 0691e88c6ff2ecf4c655eb1b982546d759b07266
child 323631 5df1453ded4cb1603ca35ae7a36330108ead5cfa
push id21
push usermaklebus@msu.edu
push dateThu, 01 Dec 2016 06:22:08 +0000
reviewerssnorp
bugs418833
milestone53.0a1
Bug 418833 - Get rid of some padding rules for checkbox and radio on Fennec that were never being applied. r=snorp MozReview-Commit-ID: LDrUKaP0nN0
mobile/android/themes/core/content.css
--- a/mobile/android/themes/core/content.css
+++ b/mobile/android/themes/core/content.css
@@ -153,17 +153,17 @@ select {
 }
 
 select:not([size]):not([multiple]),
 select[size="0"],
 select[size="1"] {
   padding: 0 1px 0 1px;
 }
 
-* > input:not([type="image"]) {
+* > input:not(:-moz-any([type="image"], [type="checkbox"], [type="radio"])) {
   border-width: 1px;
   padding: 1px;
 }
 
 textarea {
   resize: none;
   border-width: 1px;
   padding-inline-start: 1px;
@@ -181,20 +181,16 @@ button {
   padding-inline-end: 7px;
   padding-block-start: 0;
   padding-block-end: 0;
 }
 
 input[type="radio"],
 input[type="checkbox"] {
   border: 1px solid var(--form_border) !important;
-  padding-inline-start: 1px;
-  padding-inline-end: 1px;
-  padding-block-start: 2px;
-  padding-block-end: 2px;
 }
 
 select > button {
   border-width: 0px !important;
   margin: 0px !important;
   padding: 0px !important;
   border-radius: 0;
   color: #414141;