Closed Bug 996789 Opened 8 years ago Closed 2 years ago

Mixed XUL document with XHTML nodes don't trigger "click" for middle-click

Categories

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

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: Mardak, Unassigned)

References

Details

(Whiteboard: p=0)

Bug 991111 did some investigation on why middle clicks weren't triggering "click" events on about:newtab. It seems that while mousedown/mouseup were sent on middle-click for xhtml nodes that are descendants of a toplevel xul:window, the click event doesn't happen for middle-click but does work for regular click or modified click.

That bug worked around this issue by adding a click event listener to the top level to then filter out using compareDocumentPosition() & DOCUMENT_POSITION_CONTAINED_BY.
Flags: firefox-backlog?
Flags: firefox-backlog? → firefox-backlog+
Whiteboard: p=0
Depends on: 968265

Bulk-downgrade of unassigned, 4 years untouched DOM/Storage bugs' priority.

If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5

Closing as middle click is not supposed to trigger click events anymore.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.