Re: [whatwg/dom] Do not dispatch a trusted event when target and reletedTarget are identical (#336)

Here's an alternative statement I'll be fine with:

> If `event`'s `isTrusted` attribute is true and `target` is `relatedTarget` but `target` is not `event`'s `relatedTarget`, then terminate these steps.

So that the change specifically targets the case where the `relatedTarget` becomes identical to `target` after retargeting.

The part I'm opposing specifically is the part where we're making all events with `relatedTarget` not fire when target and related targets are the same because that's really an orthogonal change to the generic event dispatching algorithm regardless of whether it happens in the practice or not.

-- 
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/336#issuecomment-254090353

Received on Monday, 17 October 2016 01:01:20 UTC