← Back to release summary

Make Event.composedPath() behavior on window match that on document

Category
DOM
Type
New or changed feature
Status
Enabled by default (Chrome 55)
Intent stage
None

Summary

The spec is: https://dom.spec.whatwg.org/#dom-event-composedpath The relevant change of the spec: https://github.com/whatwg/dom/pull/327 Before: event.composedPath() on window object returns [window] in Blink, which does not include nodes in a document. After: event.composedPath() on window behaves the same way as that on document. It would include a node in a document tree.

Standards & signals

View on chromestatus.com