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>.

then*

---
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#r71478392

Received on Wednesday, 20 July 2016 07:40:23 UTC