bem / bem-bl

Base BEM library
http://bem.github.com/bem-bl/
198 stars 84 forks source link

HiDPI detection improvement #565

Closed andre487 closed 9 years ago

andre487 commented 9 years ago

There is a warning in the browsers' JS console:

Consider using 'dppx' units, as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min-resolution: 124dpi)

There is a fix of this defect.

tadatuta commented 9 years ago

@Andre-487 is this change tested? and in which branches do you it?

andre487 commented 9 years ago

It was tested by me on the serveral devices and on the desktop. It would be good to make full tests, but change was made without official task, by my own initiative.

andre487 commented 9 years ago

Thanks!