web-bugs icon indicating copy to clipboard operation
web-bugs copied to clipboard

weather.yahoo.co.jp - blurred logo

Open hallvors opened this issue 11 years ago • 4 comments

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

  1. Navigate to: http://weather.yahoo.co.jp
  2. 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

hallvors avatar Apr 30 '15 08:04 hallvors

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

kudodo avatar May 13 '15 09:05 kudodo

@hallvors, For me, both Firefox and Chrome are displaying same logo now. Could you send me a screenshot to share with Yahoo guys? Chrome screenshot_2015-06-05-19-18-32 Android Firefox screenshot_2015-06-05-19-17-31

kudodo avatar Jun 05 '15 10:06 kudodo

@kudodo check Your own screenshots above.

Here side by side.

logos

-webkit-min-device-pixel-ratio: 2 will not be applied for mozilla.

karlcow avatar Jun 05 '15 14:06 karlcow

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;
  }
}

karlcow avatar Jun 08 '15 04:06 karlcow