Re: [whatwg/dom] Standardize certain Microsoft event extensions (#334)

> @miketaylr I think that's only the case because you didn't add a listener inside the shadow tree.

Yeah, you're right. Updated https://miketaylr.com/bzla/global-event-shadow-script.html and the results are a bit confusing (possibly due to devtools bugs?...). 

In Chrome, nothing gets logged except the `console.group` names, but in Safari `event.target.tagName` and `e.target.tagName` are `SPAN`, which means it leaked.

So we should probably set `window.event` to undefined when traversing across shadow boundaries (or something like that).

-- 
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/334#issuecomment-312118943

Received on Thursday, 29 June 2017 21:53:25 UTC