weather.yahoo.co.jp - blurred logo
URL: http://weather.yahoo.co.jp Browser / Version: Firefox Mobile 36.0 Operating System: Android Problem type: Something else - I'll add details below
Steps to Reproduce
- Navigate to: http://weather.yahoo.co.jp
- Logo is not as sharp as in other browsers
The reason is the -webkit- based CSS here: http://ai.yimg.jp/yui/jp/smh/sp/1.4.0/yjsmh_weather.css
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
#yjsmhLogo h1 {
background-image: url("/c/logo/s/2.0/weather_w_22_2x.png");
-webkit-background-size: 127px 22px;
-moz-background-size: 127px 22px;
background-size: 127px 22px;
}
}
country: jp
Mozilla Japan will contact Yahoo! Japan soon. Including other issues related to Yahoo! Japan. #1019, #1015,#1012,#1017,#1018,#1088,#1023,#1020,#1087, and https://bugzilla.mozilla.org/show_bug.cgi?id=956972
@hallvors,
For me, both Firefox and Chrome are displaying same logo now. Could you send me a screenshot to share with Yahoo guys?
Chrome
Android Firefox

@kudodo check Your own screenshots above.
Here side by side.

-webkit-min-device-pixel-ratio: 2 will not be applied for mozilla.
btw, @kudodo @hallvors
The way to fix this is easy:
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
#yjsmhLogo h1 {
background-image: url("/c/logo/s/2.0/weather_w_22_2x.png");
-webkit-background-size: 127px 22px;
background-size: 127px 22px;
}
}