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 154172 80716548b986020310fcb182d0274d9ca5853bf8
parent 154171 db9a81f5ff911eb1d143b22fd4754c242763d84b
child 154173 e87b27363b6cf15d40d119e28bbed861c2b2fc96
push id2903
push userryanvm@gmail.com
push dateSat, 05 Oct 2013 16:26:58 +0000
treeherdermozilla-beta@80716548b986 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret, akeybl
bugs911695
milestone25.0
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
@@ -513,17 +513,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');
   }
 
@@ -551,17 +551,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');
   }