Re: [pointerevents] Clarify what the target of the click event should be after capturing pointer events (#356)

> Given that all the browsers do different things, we're going to take a look at whether it was possible to implement setup where lostpointercapture is fired after click, and click's target is the captured element.

It sounds reasonable.

> That leaves still though the question where click should be dispatched if capture was explicitly released in pointerup. In that case I would expect click to go to the common ancestor of down/up.

So the `lostpointercapture` is fired before `click` event if the capture was explicitly released in pointerup, right? Then the whole setup makes sense.

-- 
GitHub Notification of comment by EdgarChen
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/356#issuecomment-1113219627 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 29 April 2022 11:55:00 UTC