Update the types of all coordinates in MouseEvents from long to double to make the coordinates more precise for PointerEvents on high-DPI devices. Note, however, that the only browser-fired events that will change are PointerEvents. MouseEvents will continue to have integral coordinates for backward compatibility.

Specification

Working draft or equivalent

Status in Chromium

Blink>Input


Enabled by default (tracking bug) in:

  • Chrome for desktop release 56
  • Chrome for Android release 56
  • Android WebView release 56

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Last updated on 2020-11-09