How we built it

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

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.

Status in Chromium

Enabled by default (launch bug) in:

  • Chrome for desktop release 55
  • Opera release 42
  • Opera for Android release 42

Consensus & Standardization

  • No public signals
  • No public signals
  • No public signals
  • No signals

Owner

Last updated on 2016-10-03