I'm curious if there's any way to force a window zoom or change the reference pixel size. I know you can get a reported zoom level with window.devicePixelRatio
We've been using rem
and changing the root html font-size
, but want to use pixels, since DPI and accessibility are compensated for by the browser's reference pixel, and most measurements like clientWidth
and drag touch events are measured in px
and we're using additional math to just scale it into rem
for no reason!
Thanks