[Webkit-unassigned] [Bug 201496] New: MouseEvent.button should be 0 for mousemove events

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 5 00:08:04 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=201496

            Bug ID: 201496
           Summary: MouseEvent.button should be 0 for mousemove events
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com

MouseEvent.button should be 0 for mousemove events

Spec: https://www.w3.org/TR/uievents/#dom-mouseevent-button

> The value of button is not updated for events not caused by the
> depression/release of a mouse button. In these scenarios, take
> care not to interpret the value 0 as the left button, but rather
> as the un-initialized value.

test case 1: attachment 377952
test case 2: https://jsfiddle.net/fujihiro/vy7hkpLw/10/embedded/result

Firefox and Chrome set it 0 for mousemove events.

-- 
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/20190905/90ecffc6/attachment.html>


More information about the webkit-unassigned mailing list