- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 19 Apr 2022 08:00:44 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 19 April 2022 15:01:00 UTC
It's intended to only clear it for shadow-root targets as we don't want to reveal those to the outside world. I agree that we should introduce the variable _clearTargets_ outside the nested block as you suggest. That's clearly a bug. While other event-related information is reset at the end of dispatch I believe that historically the target was not and as such we cannot really change that behavior. If we could design this again I would do things differently I suspect. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1072#issuecomment-1102761260 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1072/1102761260@github.com>
Received on Tuesday, 19 April 2022 15:01:00 UTC