Re: [pointerevents] New features and clarifications in Level 3 (#541)

> Btw, I noted that MDN still says: [[ Note: The pointerId property is implemented inconsistently across browsers and does not always persist for each ink stroke or interaction with the screen. For a reliable way of identifying multiple pointing devices on a screen simultaneously, see [PointerEvent.persistentDeviceId](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/persistentDeviceId). ]] https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pointerId
> 
> are we fixing that with the clarifications made on pointerId in PE3?

`persistentDeviceId` is the first new addition in PE Level 4 https://www.w3.org/TR/pointerevents4/#revision-history

the fact that `pointerId` itself may or may not persist is by design - we left it up to implementations https://www.w3.org/TR/pointerevents3/#dom-pointerevent-pointerid - though it may be worth reinforcing the fact that authors shouldn't rely on this. I'll add an extra little clarification to both Level 3 and 4 here

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


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

Received on Wednesday, 19 March 2025 09:39:56 UTC