Closed Bug 1299215 Opened 9 years ago Closed 9 years ago

[Pointer Events] Decouple `button` and `buttons` when synthesizing Widget Events.

Categories

(Core :: DOM: Events, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1292070

People

(Reporter: bhsu, Assigned: bhsu)

References

Details

Pointer Events carry both `button` and `buttons` attributes, where `button` represent the button triggering the event, while `buttons` represent the button state combination of the input device when the event is triggered. Now, the value of `buttons` is always computed from `button`[0] passed into the test automation API. Doing this way, we are not able to synthesize an input device with multiple buttons pressed, and thus cannot test related features. [0] http://searchfox.org/mozilla-central/source/dom/base/nsContentUtils.cpp#7941
Blocks: 1299024
Hi Ben, if I understand your plan correctly, this is something we aim at by the end of this quarter. So, I mark it as P2, i.e. in the next release/few months. Let me know if I misunderstand the plan. Thanks!
Priority: -- → P2
Assignee: nobody → bhsu
Thanks Ming-Chou for his work, it seems he did a pretty good jib here :)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.