Bug 262089
Summary: | PointerEvent.button should be -1 when mouse buttons are in released state | ||
---|---|---|---|
Product: | WebKit | Reporter: | Abrar Rahman Protyasha <a_protyasha> |
Component: | UI Events | Assignee: | Abrar Rahman Protyasha <a_protyasha> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | a_protyasha, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Abrar Rahman Protyasha
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/116027480>
Abrar Rahman Protyasha
Pull request: https://github.com/WebKit/WebKit/pull/18205
EWS
Committed 268459@main (18348e5bdfbb): <https://commits.webkit.org/268459@main>
Reviewed commits have been landed. Closing PR #18205 and removing active labels.