23

When looking at a Chrome Dev Tools timeline I noticed that there was a "Hit Test" entry every time somethings happens:

enter image description here

Does anyone know what it is? I've done my googling, but am still at a loss.

Thanks!

JosiahDaniels
  • 2,411
  • 20
  • 37

1 Answers1

26

A hit test is how a contact (mouse/touch) event is checked to see what it "hit" in the DOM.

https://www.chromium.org/developers/design-documents/compositor-hit-testing describes some of this.

Kariudo
  • 534
  • 5
  • 10