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

In particular, what happens if the path included a `Node` but the current target wasn't a `Node`?  If such a situation can arise, then we can't determine whether a `Node` should be unclosed or not.

If such a situation can arise, I think returning an empty array when the current target is not a `Node` makes most sense.  In fact, most of non-Node targets don't have anything to bubble up (e.g. XHR; is there any?) so there might not be any use case for `deepPath()` anyway.


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

Received on Friday, 11 March 2016 04:20:53 UTC