Open
Bug 377819
Opened 18 years ago
Updated 2 years ago
Event firing AT_TARGET is filtered for right clicks on links
Categories
(Core :: DOM: Events, defect, P5)
Tracking
()
NEW
People
(Reporter: bugs, Unassigned)
References
()
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
Using: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 See attached test case. Steps to reproduce: 1. load test case 2. left click on the link. Expected Results: * a new tab opens with news.com in it * close the tab, the log should show: MouseDown, button: 0, phase: Capturing MouseDown, button: 0, phase: Bubbling MouseUp, button: 0, phase: Capturing MouseUp, button: 0, phase: Bubbling Click, button: 0, phase: Capturing Click, button: 0, phase: At Target Click, button: 0, phase: Bubbling 3. reload the test case 4. right click on the link Expected Results: * the log should show the same data as above Actual Results: * the log shows: MouseDown, button: 0, phase: Capturing MouseDown, button: 0, phase: Bubbling MouseUp, button: 0, phase: Capturing MouseUp, button: 0, phase: Bubbling Click, button: 0, phase: Capturing Click, button: 0, phase: Bubbling It looks like the event firing AT_TARGET is being filtered for right clicks. Is this by design?
Comment 1•18 years ago
|
||
Yeah, just tested this in a nightly and I get the same problem: http://junkyard.damowmow.com/281 The target is clearly the link, why isn't the onclick="" handler firing for it? Does onclick="" only fire for left mouse buttons?
OS: Windows Vista → All
Comment 2•18 years ago
|
||
Set nglayout.events.dispatchLeftClickOnly to true and you get at_target also for right clicks.
Depends on: 71705
Updated•15 years ago
|
Assignee: events → nobody
QA Contact: ian → events
Comment 3•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•