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

> Summarize: Inspite of that spec explicit says about relatedTarget as a property of event, there are differences. Your own created properties don't count in whatwg algos. Right?

Right. Despite sharing the same name as an attribute of UIEvent and a dictionary member that UIEvent constructors accept, when the spec says “event’s relatedTarget”, it isn’t referring to an ES property. It’s an abstract internal association, not something specific to the ECMAScript binding.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/336#issuecomment-1468074818
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/336/c1468074818@github.com>

Received on Tuesday, 14 March 2023 13:09:00 UTC