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

Yes, the one in shadow DOM spec has the step to *trim* the event path when we've reached a point where both the target and the related target reach the same tree so that e.g. `blur` dispatched inside a shadow tree in response to another element in the same tree getting `focus` would not propagate beyond that tree.  Otherwise, you get a superfluous blur & focus pair which indicates the focus moved to the same element which lost the focus.

-- 
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#issuecomment-250561027

Received on Thursday, 29 September 2016 19:05:18 UTC