Mozilla\'s documentation from elementFromPoint explains that the coordinates are not in physical pixels, but \"CSS pixels\". Exactly what are CSS pixels? I was under the imp
Conversion can be done with window.devicePixelRatio; now supported by all major browsers
window.devicePixelRatio;
See https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio