Re: [whatwg/dom] Event delegation via EventListenerOptions (#215)

Agree with @domenic . Having a special logic for `this` in case of event delegation is confusing. Same for redefining `event.currentTarget` - much clearer to add a new field like `event.delegateTarget`. DOM frameworks can check existence of that property to use perf optimization, otherwise call `Element#closest` with the appropriate selector.

---
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/215#issuecomment-211008522

Received on Sunday, 17 April 2016 12:20:48 UTC