Bug 986529 - Invert tab close icon on Windows classic theme. r=jaws, ui-r=shorlander
☠☠ backed out by 9f635bf9ee9c ☠ ☠
authorBlake Winton <bwinton@latte.ca>
Fri, 21 Mar 2014 13:44:59 -0400
changeset 174763 675945ee2609
parent 174762 29d33fe0614c
child 174764 1d0181b678e8
push id5835
push userryanvm@gmail.com
push dateFri, 21 Mar 2014 17:44:18 +0000
treeherderfx-team@675945ee2609 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws, shorlander
bugs986529
milestone31.0a1
Bug 986529 - Invert tab close icon on Windows classic theme. r=jaws, ui-r=shorlander
toolkit/themes/windows/global/global.css
--- a/toolkit/themes/windows/global/global.css
+++ b/toolkit/themes/windows/global/global.css
@@ -332,16 +332,20 @@ label[disabled="true"]:-moz-system-metri
 .close-icon:hover {
   -moz-image-region: rect(0, 32px, 16px, 16px);
 }
 
 .close-icon:hover:active {
   -moz-image-region: rect(0, 48px, 16px, 32px);
 }
 
+.close-icon:-moz-system-metric(windows-classic):not(:-moz-lwtheme):not(:hover):not([selected=true]) {
+  -moz-image-region: rect(0, 64px, 16px, 48px);
+}
+
 %ifdef XP_WIN
 @media (-moz-windows-theme: luna-blue) {
   .close-icon {
     list-style-image: url("chrome://global/skin/icons/close-lunaBlue.png");
   }
 }
 
 @media (-moz-windows-theme: luna-olive) {