Closed
Bug 24100
Opened 25 years ago
Closed 25 years ago
onClick-event firing and right-clicks
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: ssch, Assigned: joki)
Details
---Codesample-------------------------------------------------------------- <html> <head> <script language="JavaScript"> <!-- function rewrite_2(anchor, source, target) { anchor.href = source; } //--> </script> </head> <body> <p>Test onClick by a <a href="http://www.netscape.org" onClick="rewrite_2(this, 'www.mozilla.org');">rigth click</a></p> </body> </html> ---comment------------------------------------------------------------------ In Netscape CC 4.5 and Microsoft IE 5.0 right clicking on the above link opens "netscape", a left click opens "mozilla"; in the M12 mozilla browser both kind of clicks open the "mozilla" page
Updated•25 years ago
|
Assignee: mccabe → joki
Component: Javascript Engine → Event Handling
QA Contact: rginda → janc
Comment 1•25 years ago
|
||
Not quite sure who this belongs to. Tentatively assiging to event handling, in case they have a better clue.
Assignee | ||
Comment 2•25 years ago
|
||
This is essentially a bug in 4.x which is now fixed in 5.0. All mouse buttons can now cause clicks as opposed to the arbitrary choice of left button only in 4.x. You can check the event object's 'button' prop to differentiate the events.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Comment 4•24 years ago
|
||
finally responding to some email i got from mpt [pardon the delay!]: this is not a problem for me, using 2000.12.07.09 mozilla on win98 [and a 3-button mouse, fwiw]. removing verifyme kw, too.
Keywords: verifyme
Updated•5 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•