This example demonstrates the effect of zooming the page in
and out (or moving it to a screen with a different scaling
factor) on the value of the property Window.devicePixelRatio
.
Try it and watch what happens!
Current DPR: