Re: [pointerevents] Shouldn't dispatch `gotpointercapture` and `lostpointercapture` events if `pointerrawupdate` event is fired without the following `pointermove`? (#511)

Ah, but `pointerrawupdate` does not change the order of pointer boundary events vs. pointer capture events.
> Before firing this event, the user agent SHOULD treat the target as if the pointing device has moved over it from the previousTarget for the purpose of [ensuring event ordering](https://www.w3.org/TR/uievents/#events-mouseevent-event-order) [[UIEVENTS](https://w3c.github.io/pointerevents/#bib-uievents)]. If the needsOverEvent flag is set, a [pointerover](https://w3c.github.io/pointerevents/#dfn-pointerover) event is needed even if the target element is the same.

So, it seems safe to dispatch them even without `pointermove`.

-- 
GitHub Notification of comment by masayuki-nakano
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/511#issuecomment-2314127966 using your GitHub account


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

Received on Wednesday, 28 August 2024 03:28:49 UTC