RESOLVED FIXED 262089
PointerEvent.button should be -1 when mouse buttons are in released state
https://bugs.webkit.org/show_bug.cgi?id=262089
Summary PointerEvent.button should be -1 when mouse buttons are in released state
Abrar Rahman Protyasha
Reported 2023-09-25 18:21:26 PDT
The pointerevents/pointerevent_attributes_hoverable_pointers.html?mouse WPT is failing with (among other things) this error message: ``` mouse <pointereventtype>.button is -1 when mouse buttons are in released state. (Expected -1 but got 0) ``` This failure can be observed for all pointer event types bar `pointerup` and `pointerdown`, and hits to us not faithfully reproducing the `button` property as specified in the Pointer Events W3C spec: https://w3c.github.io/pointerevents/#the-button-property.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-09-25 18:21:46 PDT
Abrar Rahman Protyasha
Comment 2 2023-09-25 18:42:20 PDT
EWS
Comment 3 2023-09-26 10:15:50 PDT
Committed 268459@main (18348e5bdfbb): <https://commits.webkit.org/268459@main> Reviewed commits have been landed. Closing PR #18205 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.