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

> @@ -5523,6 +5548,22 @@ 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> a <var>node</var> against a
> +<var>base</var>, run these steps:</p>
> +
> +<ol>
> + <li>Let <var>target</var> be <var>node</var>.
> +
> + <li>Repeat these subsubsteps:
> +   <ol>
> +     <li>If <var>target</var>'s <a>root</a> is not a <a>shadow root</a>, or <var>target</var>'s
> +     <a>root</a> is a <a>shadow-including inclusive ancestor<a> of <var>base</var>, return
> +     <var>target</var>.
> +
> +     <li>Let <var>target</var> be the <var>target</var>'s <a>root</a>'s <a>host</a>.

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/85db79b50a15cf3296a5746db07b097cafe22719#r71448600

Received on Wednesday, 20 July 2016 00:34:21 UTC