Do not apply hover when mouse does not move

To update the hover state when a page scrolls or changes layout, Blink currently dispatches fake mouse moves based on a timer because the mouse does not move. Unfortunately, every mouse move does a hit test which affects both performance and testing. This change applies the hover effect only when a mouse physically moves, improving performance and eliminating issues created by fake mouse events.

Demo

Status in Chromium

Blink


Enabled by default (tracking bug) in:

  • Chrome for desktop release 77

Consensus & Standardization

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

  • Opposed
  • Shipped
  • Opposed
  • No signals

Owner

Last updated on 2020-01-08