JosiahDaniels
JosiahDaniels

Reputation: 2521

What is the Chrome Dev Tools "Hit Test" timeline entry?

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!

Upvotes: 23

Views: 9518

Answers (1)

Kariudo
Kariudo

Reputation: 551

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.

Upvotes: 27

Related Questions