|
|
|
|
|
by chrismorgan
318 days ago
|
|
“Taking whatever the OS tells them” is rather different! It also gets multiplied by the browser’s zoom, which in both Firefox and Chrome include values like 80%, 90% and 110%. So for me on HN at 120% on my 1.5× laptop display, devicePixelRatio is… 1.8181818181818181. Huh. Wonder why it’s not 1.8. ¯\_(ツ)_/¯ |
|