Open Bug 1821282 Opened 3 years ago Updated 2 years ago

event.buttons is 0 for pointerleave event that leaves browser window too fast

Categories

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

Firefox 110
x86_64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: musodojomail, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0

Steps to reproduce:

In up-to-date Ubuntu with repeated tests event.buttons = 0 rather than expected event.buttons = 1 (for left mouse down)

Actual results:

For elements at the very edge of the browser window, a pointerleave event with pointer down engaged (e.g. left mouse button) event.buttons = 0 when the pointer leaves the browser at high speed (slow speed works).

Tested in Firefox Developer Edition 108.0b3 (64-bit): event.buttons = 0
Tested in Firefox Browser 110.0.1 (64-bit): event.buttons = 0
Tested on Chromium 110.0.5481.177 snap (64-bit): event.buttons = 1

Expected results:

a pointerleave event with pointer down engaged (e.g. left mouse button) should report event.buttons = 1 (for left mouse down)

Please attach a reduced test case (.html file) which reproduces the issue.

Component: Untriaged → DOM: UI Events & Focus Handling
OS: Unspecified → Linux
Product: Firefox → Core
Hardware: Unspecified → x86_64
Severity: -- → S2

Per offline discussion, downgrading to S3, given that the reproducible situation is restrictive.

Severity: S2 → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: