Open
Bug 1755746
Opened 2 years ago
Updated 2 years ago
When mousedown is on an element, but mouseup outside of the window, window gets "mouseup" but no "click"
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P3)
Tracking
()
NEW
Webcompat Priority | P3 |
People
(Reporter: julienw, Unassigned)
References
Details
Attachments
(1 file)
2.00 KB,
text/html
|
Details |
STR:
- Open the attachment.
- Make sure the window isn't fullscreen.
- "mousedown" on one of the colored squares, "mouseup" outside of the window.
=> We get a "mouseup" event on the window, but no "click" event.
I think that either we should have none of them (the "mouseup" is actually happening outside of the window) or both (as the window is a common ancestor that gets both "mousedown" and "mouseup").
My understanding is that removing the "mouseup" event in this case could break existing websites, so instead we could add the "click" event.
Reporter | ||
Comment 1•2 years ago
|
||
Note: the STR works as expected in Chrome, I mean I get both mouseup
and click
events on window
.
Updated•2 years ago
|
Webcompat Priority: --- → ?
Comment 2•2 years ago
|
||
I think that if bug 1755752 is valid, this is also valid.
Depends on: 1755752
Updated•2 years ago
|
Webcompat Priority: ? → P3
Comment 3•2 years ago
|
||
Aligning to Webcompat Priority.
Severity: -- → S3
OS: Unspecified → All
Priority: -- → P3
Hardware: Unspecified → Desktop
You need to log in
before you can comment on or make changes to this bug.
Description
•