web-feature: document.elementFromPoint() and document.elementsFromPoint()

baseline logo Widely available

The document.elementFromPoint() and document.elementsFromPoint() methods find the top-most element at a given point in the viewport, or all elements at a given point in the viewport, respectively.