Bug 911695 - Use correct dppx values for HDPI and XHDPI devices. r=margaret, a=akeybl
authorLucas Rocha <lucasr@mozilla.com>
Wed, 02 Oct 2013 17:32:42 +0100
changeset 155634 ca696fc3d418875b83a391a59f17b1d9fe276307
parent 155633 f8a5867aef495ba18692885a6f90582858ccd48b
child 155635 14a9e13e8c653875c1fb78f71761f6ef4bf0e774
push id4350
push userryanvm@gmail.com
push dateSat, 05 Oct 2013 16:25:45 +0000
treeherdermozilla-aurora@ca696fc3d418 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret, akeybl
bugs911695
milestone26.0a2
Bug 911695 - Use correct dppx values for HDPI and XHDPI devices. r=margaret, a=akeybl
mobile/android/themes/core/aboutReader.css
--- a/mobile/android/themes/core/aboutReader.css
+++ b/mobile/android/themes/core/aboutReader.css
@@ -514,17 +514,17 @@ body {
 .share-button {
   background-image: url('chrome://browser/skin/images/reader-share-icon-mdpi.png');
 }
 
 .style-button {
   background-image: url('chrome://browser/skin/images/reader-style-icon-mdpi.png');
 }
 
-@media screen and (min-resolution: 200dpi) {
+@media screen and (min-resolution: 1.25dppx) {
   .dropdown-arrow {
     background-image: url('chrome://browser/skin/images/reader-dropdown-arrow-hdpi.png');
   }
 
   .step-control > .plus-button {
     background-image: url('chrome://browser/skin/images/reader-plus-icon-hdpi.png');
   }
 
@@ -552,17 +552,17 @@ body {
     background-image: url('chrome://browser/skin/images/reader-share-icon-hdpi.png');
   }
 
   .style-button {
     background-image: url('chrome://browser/skin/images/reader-style-icon-hdpi.png');
   }
 }
 
-@media screen and (min-resolution: 300dpi) {
+@media screen and (min-resolution: 2dppx) {
   .dropdown-arrow {
     background-image: url('chrome://browser/skin/images/reader-dropdown-arrow-xhdpi.png');
   }
 
   .step-control > .plus-button {
     background-image: url('chrome://browser/skin/images/reader-plus-icon-xhdpi.png');
   }