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

>     <li><p>If <var>target</var>'s <a for=tree>root</a> is a
>     <a>shadow-including inclusive ancestor</a> of <var>parent</var>, then append
> -   (<var>parent</var>, null) to <var>event</var>'s <a for=Event>path</a>.
> +   (<var>parent</var>, null, <var>relatedTarget</var>) to <var>event</var>'s <a for=Event>path</a>.
> +
> +   <li><p>Otherwise, if <var>parent</var> and <var>relatedTarget</var> are identical, set
> +   <var>parent</var> to null.

"then set _parent_ to null"

The convention is to use "then" after the comma following an if statement.

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

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