Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Accurate Device Pixel Ratio Function #52

Open
skibulk opened this issue Jul 25, 2014 · 1 comment
Open

More Accurate Device Pixel Ratio Function #52

skibulk opened this issue Jul 25, 2014 · 1 comment

Comments

@skibulk
Copy link

skibulk commented Jul 25, 2014

Is window.devicePixelRatio always accurate? I found this code which seems to indicate that there may be special cases to be handled.

https://github.com/tysonmatanich/GetDevicePixelRatio/blob/master/getDevicePixelRatio.js

@onassar
Copy link

onassar commented May 9, 2019

I can confirm this doesn't work on Safari 12.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants