Re: [w3c/uievents] Mouse coordinates represented in CSS pixels do not account for retina displays with window.devicePixelRatio > 1 (#40)

Is it perhaps time to revisit this? CSSOM View spec has long re-defined MouseEvent coordinates as double, and that's what we've shipped in Chromium for a decade now (except that we still round for mouse events for web compat). The difference continues to cause confusion, like [this](https://x.com/FreyaHolmer/status/1788886907700584686) recent twitter thread. Fractional coordinates are really critical for some polished UIs like touch-based dragging and drawing.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/40#issuecomment-2106167855
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/uievents/issues/40/2106167855@github.com>

Received on Sunday, 12 May 2024 08:37:17 UTC