This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.

The deepPath property of the Event interface returns an Array of nodes through which the event bubbled.


var nodes[] = Event.deepPath


An Array of nodes.


Specification Status Comment
Shadow DOM
The definition of 'deepPath' in that specification.
Working Draft Initial definition.

Browser Compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 53.0[1] ? ? ? ?
Feature Android Android Webview Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support No support 53.0 ? ? ? ? ? 53.0

[1] Chrome has no event.deepPath, but supports event.composedPath() and event.composed since version 53. In Chrome, event.composedPath() works just as event.path, and if event.currentTarget is window, it will only include the window object (no document nodes) before version 55.

Document Tags and Contributors

 Contributors to this page: gdh1995, bunnybooboo, jpmedley
 Last updated by: gdh1995,