Bug 678223 - Use -moz-crisp-edges for favicon scaling [r=mfinkle]
authorMatt Brubeck <mbrubeck@mozilla.com>
Thu, 11 Aug 2011 16:23:30 -0700
changeset 74294 d6c7336a2e2905ccade446e982dc5deefe53d754
parent 74293 6a9dabc3f3d144002acfe07bb8243d0318d08bdf
child 74295 2a1b24abac0dc26aa732099b55e81271ba135623
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
reviewersmfinkle
bugs678223
milestone8.0a1
Bug 678223 - Use -moz-crisp-edges for favicon scaling [r=mfinkle]
mobile/themes/core/browser.css
mobile/themes/core/gingerbread/browser.css
--- a/mobile/themes/core/browser.css
+++ b/mobile/themes/core/browser.css
@@ -196,16 +196,17 @@ toolbarbutton.urlbar-button {
 
 #urlbar-throbber[loading] {
   list-style-image: url("chrome://browser/skin/images/throbber.png");
 }
 
 #urlbar-favicon {
   width: 32px;
   height: 32px;
+  image-rendering: -moz-crisp-edges;
 }
 
 #urlbar-favicon[src=""] {
   list-style-image: url("chrome://browser/skin/images/favicon-default-32.png");
 }
 
 /* Main urlbar textbox */
 #urlbar-title {
@@ -725,16 +726,17 @@ remotetabslist autocompleteresult:hover:
 }
 
 .autocomplete-item-container > image,
 .bookmark-item-container > image,
 placeitem > .bookmark-manage > image {
   width: 32px;
   height: 32px;
   max-height: 32px;
+  image-rendering: -moz-crisp-edges;
   /* margin-top = (1 - title's line-height) * title's font-size */
   margin-top: @autocomplete_item_container_image_padding@;
   margin-bottom: 0;
   -moz-margin-end: @margin_xxxnormal@;
   -moz-margin-start: @margin_normal@;
 }
 
 .autocomplete-item-container > image[src=""],
--- a/mobile/themes/core/gingerbread/browser.css
+++ b/mobile/themes/core/gingerbread/browser.css
@@ -185,16 +185,17 @@ toolbarbutton.urlbar-button {
 
 #urlbar-throbber[loading] {
   list-style-image: url("chrome://browser/skin/images/throbber.png");
 }
 
 #urlbar-favicon {
   width: 32px;
   height: 32px;
+  image-rendering: -moz-crisp-edges;
 }
 
 #urlbar-favicon[src=""] {
   list-style-image: url("chrome://browser/skin/images/favicon-default-32.png");
 }
 
 /* Main urlbar textbox */
 #urlbar-title {
@@ -691,16 +692,17 @@ remotetabslist autocompleteresult:hover:
 }
 
 .autocomplete-item-container > image,
 .bookmark-item-container > image,
 placeitem > .bookmark-manage > image {
   width: 32px;
   height: 32px;
   max-height: 32px;
+  image-rendering: -moz-crisp-edges;
   /* margin-top = (1 - title's line-height) * title's font-size */
   margin-top: @autocomplete_item_container_image_padding@;
   margin-bottom: 0;
   -moz-margin-end: @margin_xxxnormal@;
   -moz-margin-start: @margin_normal@;
 }
 
 .autocomplete-item-container > image[src=""],