I just did some tests on a touch device, and it appears the position is expressed in device-independent pixels. One needs to multiply the coordinates by document.defaultView.devicePixelRatio to obtain a value in physical pixels.
I just did some tests on a touch device, and it appears the position is expressed in device-independent pixels. One needs to multiply the coordinates by document. defaultView. devicePixelRati o to obtain a value in physical pixels.