Re: [whatwg/dom] Add relatedTarget to event dispatch (#281)

> @@ -5523,6 +5548,19 @@ or <var>A</var>'s <a for=tree>root</a> is a <a for=/>shadow root</a> whose
>  <a for=ShadowRoot>mode</a> is "<code>open</code>" and <a for=DocumentFragment>host</a> is an
>  <a>unclosed node</a> of <var>B</var>.
>  
> +<p>To <dfn export lt="retarget|retargeting">retarget</dfn> an object <var>A</var> against an object
> +<var>B</var>, run these steps until they return an object:</p>
> +
> +<ol>
> + <li>Repeat these substeps:
> +   <ol>
> +     <li>If <var>A</var>'s <a>root</a> is not a <a>shadow root</a>, or <var>A</var>'s <a>root</a> is
> +     a <a>shadow-including inclusive ancestor<a> of <var>B</var>, return <var>A</var>.

Done.

---
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/281/files/5a01009f0b85a5d88fef1accc95d65c63f89b829#r71827858

Received on Friday, 22 July 2016 05:14:42 UTC