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

Yup, Blink doesn't have any special treatment for Shadow DOM, regarding `window.event`. `window.event` returns an Event without any checking for Shadow DOM encapsulation. That is the current status.

I remember we had a similar discussion for `document.currentScript`.
Would it be better to make window.Event return `undefined` if an event's target is in a shadow tree?

I think that's okay. Blink would have an incompatibility issue by this change, however, I think that is unlikely to happen, hopefully.

-- 
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-339541826

Received on Thursday, 26 October 2017 03:38:41 UTC