Re: [whatwg/dom] Add window.event as a legacy compat requirement (#407)

It seems that target's relevant global object might not be entirely correct either. If you do `document.appendChild(otherWindow.document.createElement("..."))` and dispatch an event on the return value it'll be `window.event` and not `otherWindow.event` that reflects it. So maybe if target is in a document we need to use the node document's relevant global object? So weird.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/407#issuecomment-378944933

Received on Thursday, 5 April 2018 13:58:23 UTC