Bug 1437564 - Stop setting a text color for checked toolbarbuttons on Windows since the native background is mostly transparent and the color should be inherited. r?johannh draft
authorDão Gottwald <dao@mozilla.com>
Thu, 01 Mar 2018 12:50:56 +0100
changeset 761761 e07a810a9e80f77b264283bde83e103ba5265636
parent 761561 b996cabc7ef54bbe050d647494bf00d668ec52e6
push id100988
push userdgottwald@mozilla.com
push dateThu, 01 Mar 2018 11:51:29 +0000
reviewersjohannh
bugs1437564
milestone60.0a1
Bug 1437564 - Stop setting a text color for checked toolbarbuttons on Windows since the native background is mostly transparent and the color should be inherited. r?johannh MozReview-Commit-ID: Hgp8DhBrkGU
toolkit/themes/windows/global/toolbarbutton.css
--- a/toolkit/themes/windows/global/toolbarbutton.css
+++ b/toolkit/themes/windows/global/toolbarbutton.css
@@ -61,17 +61,16 @@ toolbarbutton[disabled="true"] {
   }
 }
 
 toolbarbutton[checked="true"]:not([disabled="true"]) {
   padding-top: 4px;
   padding-bottom: 2px;
   padding-inline-start: 4px;
   padding-inline-end: 2px;
-  color: ButtonText;
 }
 
 @media (-moz-windows-default-theme) {
   :root[lwtheme-image] toolbarbutton {
     text-shadow: none;
   }
 
   :root[lwtheme-image] toolbarbutton:not([disabled="true"]) {