5.50%
20%
4-140%
3.1-40%
3.20%
2.1-2.20%
BaselineWidely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2022.
Given coordinates for a point relative to the viewport, returns the element that a click event would be dispatched at if the user were to click the point (in other words, the element that hit-testing would find).