Re: [webcomponents] deepPath's definition is ambiguous when the event path contains a non-Node EventTarget (#432)

Apparently, hit regions within a canvas element are non-Node event targets, and the event path for them include canvas element and its ancestors, so this is the case for which the current definition is inadequate.

My proposal is to find the first Node event target parent from the current event target, and use that to filter nodes.  If there are no such target, don't filter anything (e.g. for events on XHR).

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/432#issuecomment-195215767

Received on Friday, 11 March 2016 06:27:54 UTC