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

> @@ -639,10 +639,18 @@ dictionary EventInit {
>  <p>An {{Event}} object is simply named an <dfn export id=concept-event>event</dfn>. It allows for
>  signaling that something has occurred, e.g., that an image has completed downloading.</p>
>  
> +<p>An <a>event</a> has an associated <dfn export for=Event>relatedTarget</dfn> (an
> +{{EventTarget}} object). Unless stated otherwise it is null.</p>
> +
> +<p>An <a>event</a> has an associated <dfn export>set the relatedTarget</dfn> algorithm,
> +which takes an {{EventTarget}} <var>relatedTarget</var>. Unless specified otherwise it does
> +nothing.</p>

Ah. I think we can.

- In DOM Standard, we use only "relatedTarget" concept.
- In UI Events, define relatedTarget attribute as reflecting "relatedTarget" concept.

That sounds reasonable. Let me try it.


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

Received on Thursday, 21 July 2016 08:22:34 UTC