Bug 1185889 - Fix devedition tab close button on Windows. r=dao, a=ritu
authorTim Nguyen <ntim.bugs@gmail.com>
Wed, 22 Jul 2015 08:04:00 -0700
changeset 269027 89cf1f6f99cb59292cca57ceb6a2063bde7e36b6
parent 269026 465a16e73fb6adb4307b7cbdb88a57926ab24da5
child 269028 02f074376bb755c0dcc01066814a3702eda21d45
push id4932
push userjlund@mozilla.com
push dateMon, 10 Aug 2015 18:23:06 +0000
treeherdermozilla-esr52@6dd5a4f5f745 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao, ritu
bugs1185889
milestone41.0a2
Bug 1185889 - Fix devedition tab close button on Windows. r=dao, a=ritu
browser/themes/windows/devedition.css
--- a/browser/themes/windows/devedition.css
+++ b/browser/themes/windows/devedition.css
@@ -101,23 +101,23 @@
   /* Reset image-region from the windows theme */
   -moz-image-region: auto !important;
   /* Add margin otherwise it looks weird */
   -moz-margin-start: 2px;
 }
 
 /* Tab styling - make sure to use an inverted icon for the selected tab
    (brighttext only covers the unselected tabs) */
-.tab-close-button[visuallyselected=true]:not(:hover) {
-  -moz-image-region: rect(0, 64px, 16px, 48px);
+.tab-close-button[visuallyselected=true] {
+  list-style-image: url("chrome://global/skin/icons/close-inverted.png");
 }
 
 @media (min-resolution: 1.1dppx) {
-  .tab-close-button[visuallyselected=true]:not(:hover) {
-    -moz-image-region: rect(0, 128px, 32px, 96px);
+  .tab-close-button[visuallyselected=true] {
+    list-style-image: url("chrome://global/skin/icons/close-inverted@2x.png");
   }
 }
 
 @media (-moz-os-version: windows-xp),
        (-moz-os-version: windows-vista),
        (-moz-os-version: windows-win7),
        (-moz-os-version: windows-win8) {
   :root {