- From: Shiino Yuki <notifications@github.com>
- Date: Fri, 17 Aug 2018 04:26:26 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 17 August 2018 11:26:47 UTC
`e.target` is somewhat adjusted, but `e.currentTarget`, etc. do not seem adjusted. So, IIUC what you're saying is, the following is possible if `window.event` were exposed in a shadow tree, I guess? ``` function global_function() { console.log(window.event); console.log(window.event.currentTarget); // => shadowNode } shadowNode.addEventListener(type, (e) => { global_function(); }); ``` Is this what we're afraid of? -- 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/issues/679#issuecomment-413836478
Received on Friday, 17 August 2018 11:26:47 UTC