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

@rniwa note that relatedTarget in DOM is not generic per se. Only if an event class decides to make use of that internal slot will they participate in the choices DOM makes for it. If you want to call something relatedTarget but have different semantics, you could in theory use your own internal slot for it. (This is all a little hairy since we haven't formalized internal slots yet and UI events is a hopelessly vague specification, but, it should all work...)

Anyway, I'll update the PR per the discussion and land it tonight / tomorrow.

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

Received on Monday, 17 October 2016 06:17:28 UTC