Baseline Widely DOM API
api.Document.elementsFromPoint
Granular MDN Browser Compat Data support history across 13 tracked browsers.
Specification Area
DOM API
Standard track
First Core Launch
Chrome 43
2015-05-19
Core-3 Stability
1,059d (2.9y)
Last: Safari (2018-04-12)
Baseline Feature
Widely
document.elementFromPoint() and document.elementsFromPoint()
Browser Support Timeline
Notes (6)
Chrome: Before Chrome 66, this method returnednull when the element was a child of a host node. See bug 40537452.Edge, IE: 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).Chr And: Before Chrome Android 66, this method returned null when the element was a child of a host node. See bug 40537452.WV And: Before WebView Android 66, this method returned null when the element was a child of a host node. See bug 40537452.Samsung: Before Samsung Browser 9.0, this method returned null when the element was a child of a host node. See bug 40537452.Quest: Before Quest Browser 5.0, this method returned null when the element was a child of a host node. See bug 40537452.Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 43 | 2015-05-19 | Supported |
| Firefox | desktop | 46 | 2016-04-26 | Supported |
| Safari | desktop | 11.1 | 2018-04-12 | Supported |
| Edge | desktop | 79 | 2020-01-15 | Supported |
| Chrome Android | mobile | 43 | 2015-05-27 | Supported |
| Firefox for Android | mobile | 46 | 2016-04-26 | Supported |
| Safari on iOS | mobile | 11.3 | 2018-03-29 | Supported |
| WebView Android | mobile | 43 | 2015-05-27 | Supported |
| WebView on iOS | mobile | 11.3 | 2018-03-29 | Supported |
| Samsung Browser | mobile | 4.0 | 2016-03-11 | Supported |
| Opera | desktop | 30 | 2015-06-09 | Supported |
| Opera Android | mobile | 30 | 2015-06-10 | Supported |
| Deno | server | — | — | — |
| Node.js | server | — | — | — |
| Bun | server | — | — | — |
| Quest Browser | xr | 5.0 | 2018-07-01 | Supported |
| Internet Explorer | desktop | — | — | Prefixed (10) |