[Webkit-unassigned] [Bug 267008] New: PointerEvent pointerup `button` value does not match pointerdown
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 2 16:06:21 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=267008
Bug ID: 267008
Summary: PointerEvent pointerup `button` value does not match
pointerdown
Product: WebKit
Version: Safari 17
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: UI Events
Assignee: webkit-unassigned at lists.webkit.org
Reporter: simon.sarris at gmail.com
Created attachment 469266
--> https://bugs.webkit.org/attachment.cgi?id=469266&action=review
Reproducible example
This is a regression. All browsers (and Safari used to) match PointerEvent.button for corresponding pointerdown and pointerup events.
This means that a right click will be button = 2 for the pointerdown, but button = 0 for pointerup. This will break JavaScript that expects to do right-click events on pointerup.
A very basic reproducible example is attached. Allegedly this worked correctly in Safari 16.5 (I have not tested) but now fails in 17.2.1 (I have tested).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240103/7a2e8868/attachment-0001.htm>
More information about the webkit-unassigned
mailing list