- From: Hayato Ito <notifications@github.com>
- Date: Thu, 15 Mar 2018 01:21:40 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 15 March 2018 01:22:07 UTC
hayatoito commented on this pull request. > <li><p>If <var>target</var> is <var>relatedTarget</var> and <var>target</var> is not <var>event</var>'s <a for=Event>relatedTarget</a>, then return true. + <!-- XXX Since we return early, we might want to unset more flags here. See #402. --> I have never thought about this case seriously so far. In this early return, I assume that any event listener is never called. In this case, we don't have to worry about any leaking of a node in a shadow tree via an event object. Users don't have any change to access an event object, other than the original event dispatcher. btw, the consistency may matter. I'm fine to reset target, relatedTarget, and touch target list here too. -- 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/585#discussion_r174655415
Received on Thursday, 15 March 2018 01:22:07 UTC