2 ms·
On a retina screen, it reports the wrong resolution. Not sure if you can get density from the browser, but just thought I would let you know!
by cridenour 13y ago
On a retina screen, it reports the wrong resolution. Not sure if you can get density from the browser, but just thought I would let you know!
- brianpgordon 13y agoI noticed this as well. OP can detect it using window.devicePixelRatio on WebKit: http://www.quirksmode.org/blog/archives/2012/06/devicepixelrati.html http://www.quirksmode.org/blog/archives/2012/06/devicepixelr...