Re: [whatwg/dom] Capturing event listeners are called during bubbling phase for shadow hosts (#685)

I think we should update the spec to match what Gecko implemented which ends up invoking event listeners in the following order for the example:

 - hostParent, capturing, eventPhase: CAPTURING_PHASE
 - host, capturing, eventPhase: AT_TARGET
 - parent, capturing, eventPhase: CAPTURING_PHASE
 - target, capturing, eventPhase: AT_TARGET
 - target, non-capturing, eventPhase: AT_TARGET
 - parent, non-capturing, eventPhase: BUBBLING_PHASE
 - host, non-capturing, eventPhase: AT_TARGET
 - hostParent, non-capturing, eventPhase: BUBBLING_PHASE


-- 
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/685#issuecomment-418964965

Received on Thursday, 6 September 2018 04:59:40 UTC