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

> But in both cases, `pointerup` is dispatched before release and `click` is dispatched after release.

This is the question really. If you never explicitly release capture, shouldn't the click be captured as well? I.e. dispatched to #c in my second example. In fact it seems the spec [explicitly says that the click should still be captured under implicit release of pointer capture](

> If the user agent supports firing the click event (see compatibility mouse events), and if in an implicit release scenario both click and lostpointercapture events are fired, click SHOULD be fired before lostpointercapture.

As such, it seems that the click should be captured and #c should be the click target in my second example.

GitHub Notification of comment by flackr
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Sunday, 11 July 2021 17:59:09 UTC