event.buttons is 0 for pointerleave event that leaves browser window too fast
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
People
(Reporter: musodojomail, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
1.35 KB,
text/html
|
Details |
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)
Comment 1•3 years ago
|
||
Please attach a reduced test case (.html file) which reproduces the issue.
| Reporter | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Per offline discussion, downgrading to S3, given that the reproducible situation is restrictive.
Updated•2 years ago
|
Description
•