Closed
Bug 39470
Opened 25 years ago
Closed 25 years ago
javascript problem when mouseover handler is in anchor tag
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: sean, Assigned: joki)
Details
(Keywords: testcase, Whiteboard: [nsbeta2+])
Attachments
(1 file)
(deleted),
text/html
|
Details |
When each of the following anchor tags is clicked, only one alert should
appear. In the second and third examples though mozilla displays the alerts
that should not appear.
<A HREF="javascript: alert('this should NOT appear')"
ONCLICK="alert('ONCLICK handler fired'); return false">
Anchor without ONMOUSEOVER handler
</A>
<A HREF="javascript: alert('this should NOT appear')"
ONMOUSEOVER="return false;"
ONCLICK="alert('ONCLICK handler fired'); return false">
Anchor with ONMOUSEOVER handler: 'return false;'
</A>
<A HREF="javascript: alert('this should NOT appear')"
ONMOUSEOVER="return true;"
ONCLICK="alert('ONCLICK handler fired'); return false">
Anchor with ONMOUSEOVER handler: 'return true;'
</A>
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Comment 2•25 years ago
|
||
added 4xp and testcase keywords
Comment 3•25 years ago
|
||
Nominating nsbeta2. We have to start drawing a line on DOM0 backward
compatibility; these bugs are supposed to be a high priority for nsbeta2 per the
beta2 criteria.
Keywords: nsbeta2
Comment 5•25 years ago
|
||
Setting to [nsbeta2+]. We have to get these basic JS 1.0 DOM0 events and
javascript: URLs executing the correct JavaScript code for nsbeta2; otherwise
nsbeta2 won't serve to expose the other bugs contained within that code in time
to be fixed for FCS.
Whiteboard: [nsbeta2+]
Assignee | ||
Comment 6•25 years ago
|
||
Okay, I know what this is. I saw this today in a bug from mjudge. I'll talk to
him and have a fix in asap.
Assignee | ||
Comment 7•25 years ago
|
||
The fix for this went in a few days back. Sorry, forgot to mark this fixed.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•