Bug 1169683 - The chromeUI icon in the identity-popup is blurry on Windows HiDPI. r=Gijs, a=lmandel
authorJared Wein <jwein@mozilla.com>
Fri, 29 May 2015 09:54:00 -0400
changeset 275254 47135c03748147448ba028ee2faf12c28078c443
parent 275253 52a60733702c1056429716b8955ec4e31462ebee
child 275255 13af5e0adac4106b2bb5849a2a658a364c543a7e
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs, lmandel
bugs1169683
milestone40.0
Bug 1169683 - The chromeUI icon in the identity-popup is blurry on Windows HiDPI. r=Gijs, a=lmandel
browser/themes/osx/browser.css
browser/themes/shared/identity-block.inc.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -3143,20 +3143,16 @@ toolbarbutton.chevron > .toolbarbutton-m
 
   #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
     -moz-image-region: rect(128px, 128px, 256px, 0px);
   }
 
   #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
     -moz-image-region: rect(256px, 128px, 384px, 0px);
   }
-
-  #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
-    list-style-image: url("chrome://branding/content/icon128.png");
-  }
 }
 
 /* Popup Body Text */
 .identity-popup-description {
   white-space: pre-wrap;
   -moz-padding-start: 15px;
   margin: 2px 0 4px;
 }
--- a/browser/themes/shared/identity-block.inc.css
+++ b/browser/themes/shared/identity-block.inc.css
@@ -154,9 +154,14 @@
   #identity-box:hover > #page-proxy-favicon {
     -moz-image-region: rect(0, 64px, 32px, 32px);
   }
 
   #identity-box:hover:active > #page-proxy-favicon,
   #identity-box[open=true] > #page-proxy-favicon {
     -moz-image-region: rect(0, 96px, 32px, 64px);
   }
+
+  #identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
+    list-style-image: url("chrome://branding/content/icon128.png");
+    -moz-image-region: rect(0, 128px, 128px, 0);
+  }
 }