api.Document.elementsFromPoint

Spec

MDN URL

Status

On the standards track: Yes

Is Experimental: No

Is Deprecated: No

Browser Support

In Chrome version 43 on 2015-05-19 Note: Before Chrome 66, this method returned null when the element was a child of a host node. See bug 40537452.

In Chrome Android version 43 on 2015-05-27 Note: Before Chrome Android 66, this method returned null when the element was a child of a host node. See bug 40537452.

In Edge version 79 on 2020-01-15 Note: Returns a NodeList instead of an array. See the MSDN documentation. Returns null when the point provided has no elements beneath it (e.g., when given a point outside the document).

In Firefox version 46 on 2016-04-26

In Firefox for Android version 46 on 2016-04-26

In Internet Explorer version 10 on 2012-10-26 Note: Returns a NodeList instead of an array. See the MSDN documentation. Returns null when the point provided has no elements beneath it (e.g., when given a point outside the document).

In Quest Browser version 5.0 on undefined Note: Before Quest Browser 5.0, this method returned null when the element was a child of a host node. See bug 40537452.

In Opera version 30 on 2015-06-09

In Opera Android version 30 on 2015-06-10

In Safari version 11.1 on 2018-04-12

In Safari on iOS version 11.3 on 2018-03-29

In Samsung Internet version 4.0 on 2016-03-11 Note: Before Samsung Internet 9.0, this method returned null when the element was a child of a host node. See bug 40537452.

In WebView Android version 43 on 2015-05-27 Note: Before WebView Android 66, this method returned null when the element was a child of a host node. See bug 40537452.

In WebView on iOS version 11.3 on 2018-03-29