[whatwg/dom] Which target could we expose in Event Timing? (#838)

This is not an issue, but rather requesting some help to figure out how to integrate a new feature of Event Timing properly with DOM. We'd like to add the event's target to improve attribution of the API: see https://github.com/WICG/event-timing/issues/9 or https://github.com/WICG/event-timing/issues/60. I'm aware that we should only expose the 'top-level' Event target: if an event is re-targeted and there are targets in shadow DOM then those won't be exposed. However, I'm having a hard time parsing the event dispatch algorithm to understand which is the target I'd like. Is https://dom.spec.whatwg.org/#concept-event-dispatch only called once per event (and re-targeting happens internally), and hence `target` the object I want?

-- 
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/838

Received on Friday, 28 February 2020 21:52:32 UTC