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

Latest results using the new test page, with `touch-action` and explicit release checked

| https://codepen.io/mustaqahmed/full/YzawKWW | Chrome 113.0.5672.93 / Win / mouse | Firefox 113.0 / Win / mouse | Safari 16.4 (18615.1.26.11.23) / macOS | Safari 16.4 / iOS / touch | Chrome 110.0.5481.153 / Android 11 / touch |
| --- | --- | --- | --- | --- | --- |
| 1. Mousedown on blue. Mouseup on blue. | blue pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>blue click<br>blue lostpointercapture | blue pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>blue lostpointercapture<br>blue click | blue pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>blue lostpointercapture<br>blue click | blue pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>blue lostpointercapture<br>blue click | blue pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>blue lostpointercapture<br>blue click |
| 2. Mousedown on green. Mouseup on green. | green pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>grey click<br>blue lostpointercapture | green pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>blue lostpointercapture<br>green click | green pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>blue lostpointercapture<br>green click | green pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>green pointerup<br>(explicitly release pointer capture from blue)<br>blue lostpointercapture<br>green click | green pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>blue lostpointercapture<br>green click |
| 3. Mousedown on blue. Move to green. Mouseup on green. | blue pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>blue click<br>blue lostpointercapture | blue pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>blue lostpointercapture<br>green click | blue pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>blue lostpointercapture<br>grey click | blue pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>blue lostpointercapture | blue pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>blue lostpointercapture |
| 4. Mousedown on green. Move to blue. Mouseup on blue. | green pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>grey click<br>blue lostpointercapture | green pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>blue lostpointercapture<br>blue click | green pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>blue lostpointercapture<br>grey click | green pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>blue lostpointercapture | green pointerdown<br>(set pointer capture to blue)<br>blue gotpointercapture<br>blue pointerup<br>(explicitly release pointer capture from blue)<br>blue lostpointercapture |

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


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

Received on Wednesday, 10 May 2023 14:54:36 UTC