Bug 1539414 - checkboxes are not redrawn on Win7 classic theme r=Gijs a=RyanVM
authorAlexander Surkov <surkov.alexander@gmail.com>
Tue, 16 Apr 2019 16:01:33 +0000
changeset 523278 9b8ad8b840ed4cc8545123c49a2cafb401e322d3
parent 523277 2e258ddb1483f5993821845a8713fe7b0aac5c7a
child 523279 ceb8833f34c3df62c7f4bf628ff769c1a638b240
push id11125
push usernbeleuzu@mozilla.com
push dateMon, 22 Apr 2019 16:37:45 +0000
treeherdermozilla-beta@ceb8833f34c3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs, RyanVM
bugs1539414
milestone67.0
Bug 1539414 - checkboxes are not redrawn on Win7 classic theme r=Gijs a=RyanVM Differential Revision: https://phabricator.services.mozilla.com/D27727
toolkit/content/widgets/checkbox.js
--- a/toolkit/content/widgets/checkbox.js
+++ b/toolkit/content/widgets/checkbox.js
@@ -25,17 +25,17 @@ class MozCheckbox extends MozElements.Ba
         // Prevent page from scrolling on the space key.
         event.preventDefault();
       }
     });
   }
 
   static get inheritedAttributes() {
     return {
-      ".checkbox-check": "disabled",
+      ".checkbox-check": "disabled,checked",
       ".checkbox-label": "text=label,accesskey",
       ".checkbox-icon": "src",
     };
   }
 
   connectedCallback() {
     if (this.delayConnectedCallback()) {
       return;