Closed Bug 1729440 Opened 3 years ago Closed 3 years ago

pointerdown event shouldn't have .buttons of 0

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

Firefox 91
defect

Tracking

()

RESOLVED DUPLICATE of bug 1725416

People

(Reporter: jaffathecake, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36

Steps to reproduce:

Issue observed on Android, on a touch device.

https://static-misc-3.glitch.me/pointer-test/3.html - touch the screen and observe the console.

Actual results:

event.buttons is 0.

Expected results:

event.buttons should be 1.

From the spec: https://w3c.github.io/pointerevents/#the-buttons-property, buttons should be 1 on "touch contact".

Blocks: pointerevent

Could you take a look, Edgar?

Flags: needinfo?(echen)

This is a duplicate of bug 1725416, it should work now on 92.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(echen)
Resolution: --- → DUPLICATE

Ah sorry. I did search for existing issues but didn't find that one.

You need to log in before you can comment on or make changes to this bug.