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

> How would you implement this though? Also, the whole reason DOM has relatedTarget logic is because there is no clean layering.

I don't know how relevant how each implementation does this check since that'll be an implementation detail but [WebKit checks this condition](https://trac.webkit.org/browser/trunk/Source/WebCore/page/EventHandler.cpp#L2448) when figuring out when & how to fire mouse events.

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

Received on Saturday, 15 October 2016 23:45:52 UTC