- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 20 Mar 2018 13:50:23 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 20 March 2018 13:50:51 UTC
So thinking about this in light of the tests at `shadow-dom/event-post-dispatch.html` it seems this is still not entirely correct. With the patch is proposed, you can observe whether an event started out in a shadow tree or not. I think _clearTargets_ should instead be based on event's path. You find the last tuple in event's path with a non-null target. And then if that tuple contains a node inside a shadow tree in one of the three target fields, you set _clearTargets_ to true. -- 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/pull/585#issuecomment-374604473
Received on Tuesday, 20 March 2018 13:50:51 UTC