Open
Bug 116317
Opened 23 years ago
Updated 2 years ago
strange onclick behavior when img is tagged ISMAP
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Core
DOM: UI Events & Focus Handling
Tracking
()
NEW
Future
People
(Reporter: beau, Unassigned)
References
Details
Attachments
(1 file)
693 bytes,
text/html
|
Details |
Try the following code: <A HREF='afadfasdfasdf' onClick='alert("yar");return false'> <IMG SRC='' ISMAP> </A> (obviously, you'll have to insert some src for the image tag) Clicking the image causes the alert to happen, but the "return false" is ignored and a mystery page is loaded (it has the contents "<HTML>< BODY></BODY></HTML>)". I would expect that this would behave like a normal link, wherein the default action of link-clicking (i.e. loading any page) is cancelled. I tested with the latest mac build and still get the same behavior. Please contact me with any questions. Thanks.
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
Confirming with trunk binaries 20011219xx WinNT, Linux, Mac9.1. OS : Mac ---> All. Browser, not engine. Reassigning to Event Handling for further triage.
Assignee: rogerl → joki
Status: UNCONFIRMED → NEW
Component: Javascript Engine → Event Handling
Ever confirmed: true
OS: Mac System 9.x → All
QA Contact: pschwartau → madhur
Hardware: Macintosh → All
Comment 3•23 years ago
|
||
Midair. This is possibly related to bug 111659.
OS: All → Mac System 9.x
Hardware: All → Macintosh
Comment 4•23 years ago
|
||
Bah, I meant bug 110072
Updated•23 years ago
|
OS: Mac System 9.x → All
Hardware: Macintosh → All
Updated•23 years ago
|
Target Milestone: --- → mozilla1.1
Updated•22 years ago
|
QA Contact: madhur → rakeshmishra
Updated•22 years ago
|
QA Contact: rakeshmishra → trix
Comment 7•19 years ago
|
||
*** Bug 297120 has been marked as a duplicate of this bug. ***
Updated•19 years ago
|
Assignee: saari → events
Comment 8•17 years ago
|
||
This works correctly in IE 6.0
Comment 9•17 years ago
|
||
It is important to have this fixed for AJAX based code that also aims to work correctly with Javascript disabled browsers - you can spit out different HTML of course, but depending on when it is known that JavaScript is disabled, this maybe somewhat painful.
Updated•15 years ago
|
Assignee: events → nobody
QA Contact: ian → events
Assignee | ||
Updated•5 years ago
|
Component: Event Handling → User events and focus handling
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•