Re: [w3c/uievents] Add .pseudoTarget property to selected event types (PR #413)

josepharhar left a comment (w3c/uievents#413)

> That is a good question.. so, actually, could we simplify this. .pseudoTarget would be null always when internal pseudoTarget's root != currentTarget's root. That would keep the pseudo target in the initial subtree.

So this PR already does this:
```
Let |retargeted| be the result of [=retarget=]ing |origin| against |currentTarget|.
```

Are you saying that the pseudoTarget's root != currentTarget's root would be better than doing this retargeting?

I think the spec in the PR currently matches what we recently did for ToggleEvent.source, right? https://html.spec.whatwg.org/multipage/interaction.html#dom-toggleevent-source

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/pull/413#issuecomment-4802011364
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/uievents/pull/413/c4802011364@github.com>

Received on Thursday, 25 June 2026 16:41:51 UTC