Re: [w3c/webcomponents] "The event relatedTarget retargeting process must occur prior to dispatch of an event." (#485)

Apart from that one other thing came up which @smaug---- and I discussed on IRC, when to invoke listeners:

1. capture target capture deeptarget bubble bubble (this is what I wrote up)
1. capture capture deeptarget bubble target bubble (this is what I think Shadow DOM defines)
1. capture target (only capture listeners) capture deeptarget bubble target (only bubble listeners) bubble

This last one is apparently something Gecko does today. It requires keeping additional state around (whether you're capture or bubble) and could make shadow trees observable since if you add event listeners for capture, then bubble, then capture, you can tell that when the two for capture have been invoked the one for bubble hasn't yet been.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/485#issuecomment-213021922

Received on Thursday, 21 April 2016 17:12:50 UTC