Re: [whatwg/dom] Standardize srcElement, returnValue, and window.event (#334)

@yuki3 the main thing I don't understand is the result of https://github.com/whatwg/dom/issues/334#issuecomment-379247567 in Chrome. If you move an element around it doesn't affect subsequent listeners for that element somehow, but it does affect any of its children. However, Chrome appears to lookup the global for each listener and doesn't cache it across listeners, so what's going on?

Having said that, could we maybe get agreement on a different setup given that it mostly seems arbitrary? Where we lookup the global once and then use it throughout? This would be more consistent with other bits that we also try to lookup and cache in advance.

(Edge seems to update multiple windows once you move a node, but not before, which seems undesirable.)

cc @dstorey

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

Received on Monday, 9 April 2018 10:32:14 UTC