[w3c/webcomponents] The get-the-parent algorithm shouldn't return null until we reach the root of the current tree (#577)

Even when `target` and `relatedTarget` are identical, we still need to dispatch an event and bubble it at least until the root of the current (shadow) tree.  This matches the behavior of a disconnected non-shadow tree and WebKit's implementation.

Both the [spec](https://w3c.github.io/webcomponents/spec/shadow/#get-the-parent) and Blink currently trims the event path whenever `target` and `relatedTarget` are identical but this behavior doesn't match the event path outside shadow trees.

-- 
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/577

Received on Wednesday, 28 September 2016 01:56:32 UTC