Bugzilla version 2.11

This is Bugzilla: the Mozilla bug system. For more information about what Bugzilla is and what it can do, see mozilla.org's bug pages.

Bugzilla Bug 9140
  {html4} AREA elements don't fire events
     Query page      Enter new bug


Bug#:9140   Platform:   Reporter:luch@quebectel.com
Product:   OS:   Add CC:
Component:   Version:   Cc:
Remove selected CCs
Status: VERIFIED   Priority:  
Resolution: FIXED   Severity:  
Assigned To: harishd@netscape.com   Target Milestone:  
QA Contact:
URL:
Summary:
Status Whiteboard:
Keywords:
Attachments: 07/29/99 03:04Minimized test case   (text/html)
01/27/00 20:45Full testcase testing all 12 events   (text/html)
Create a new attachment (proposed patch, testcase, etc.)
Bug 9140 depends on: Show dependency tree
Show dependency graph
Bug 9140 blocks:7954 11518
Votes for bug 9140: 0    Vote for this bug

Additional Comments:


Leave as VERIFIED FIXED
Reopen bug
Mark bug as CLOSED

View Bug Activity   |   Format For Printing

Description: Opened: 1999-07-01 13:46

In <map> html command, there used to be the onMouseOver, onMouseOut and others in
the definition of <area> tag.

On the url submited, there's a menu at the left site that uses roll-overs.  When on normal buttons,
the top menu image switches to a new one.  But when on the "I" button, the browser is expected
to make the top image change.  Here is the rollover command used on that page:

<MAP NAME="haut"><AREA SHAPE=RECT COORDS="8,4,17,13" HREF="main.htm" onMouseOver="anim('1');" onmouseout="unanim();"></MAP>

and the image tag which uses that map:

<IMG SRC="pitonbas.gif" usemap="#bas" border=0 width=130>

I'm using the Milestone 7 Mozilla browser.

Hope I didn't forget anything!!
Great work guys!


------- Additional Comments From cbegle@netscape.com 1999-07-01 13:48 -------
Event Handling bug


------- Additional Comments From Antti Näyhä 1999-07-29 03:03 -------
Attaching a minimized test case & rewriting the bug report in accordance
to the guidelines.


Overview description:
  AREA element doesn't fire onMouseOver and onMouseOut events.

Steps to reproduce:
  1) View the attachment.
  2) Move the pointer over and out areas 1-6.

Actual results:
  Nothing.

Expected results:
  Moving in or out from each AREA should produce a JavaScript alert, eg.
  "Pointer over Area 4" or "Pointer out from Area 2".

  (Note that tests 4-6 use nonstandard area shapes, but we'll probably want
  to implement those as well since they are supported by popular browsers.)

Build date & platform:
  - originally reported on Windows 95, build date unknown.

Additional builds & platforms:
  - Apprunner 1999072711 (Windows NT 4.0 SP4)
  - Viewer 1999072711 (Windows NT 4.0 SP4)
  - M8 Apprunner (Windows NT 4.0 SP4)


------- Additional Comments From Antti Näyhä 1999-07-29 03:04 -------
Created an attachment (id=1032)
Minimized test case


------- Additional Comments From Antti Näyhä 1999-07-29 03:13 -------
*** Bug 10308 has been marked as a duplicate of this bug. ***


------- Additional Comments From Antti Näyhä 1999-09-13 03:17 -------
*** Bug 13336 has been marked as a duplicate of this bug. ***


------- Additional Comments From Prashant Desale 1999-09-29 14:29 -------
Tested with todays builds. Its still there.


------- Additional Comments From Prashant Desale 1999-09-29 15:25 -------
*** Bug 12154 has been marked as a duplicate of this bug. ***


------- Additional Comments From joki@netscape.com 1999-10-05 11:34 -------
*** Bug 15450 has been marked as a duplicate of this bug. ***


------- Additional Comments From Adam D. Moss 1999-11-30 05:05 -------
Still there.  I've changed OS to 'All'.

I understand that this is quite an important omission,
since HTML 4.0 compliance requires support of this feature
(I am told).


------- Additional Comments From David Baron 1999-11-30 06:11 -------
HTML 4.0 compliance doesn't require much of anything...


------- Additional Comments From Ian 'Hixie' Hickson 1999-11-30 13:41 -------
dbaron: how true, how true... :-(

A better way of phrasing it is "This is required for full HTML4 support".
Adding relevant dependencies.


------- Additional Comments From ekrock's old account (dead) 2000-01-17 18:32 -------
Moving M16.


------- Additional Comments From ekrock's old account (dead) 2000-01-21 13:52 -------
Bulk moving [testcase] code to new testcase keyword. Sorry for the spam!


------- Additional Comments From joki@netscape.com 2000-01-27 20:12 -------
*** Bug 1427 has been marked as a duplicate of this bug. ***


------- Additional Comments From joki@netscape.com 2000-01-27 20:12 -------
*** Bug 25056 has been marked as a duplicate of this bug. ***


------- Additional Comments From joki@netscape.com 2000-01-27 20:24 -------
*** Bug 24041 has been marked as a duplicate of this bug. ***


------- Additional Comments From brian 2000-01-27 20:45 -------
Created an attachment (id=4647)
Full testcase testing all 12 events


------- Additional Comments From brian 2000-01-27 20:49 -------
There are 12 events that area elements should support according to the W3C 
Recommendation:
http://www.w3.org/TR/html4/struct/objects.html#adef-usemap

They are demonstrated in the recently added attachment


------- Additional Comments From joki@netscape.com 2000-01-28 14:57 -------
*** Bug 25490 has been marked as a duplicate of this bug. ***


------- Additional Comments From vidur@netscape.com 2000-01-31 19:12 -------
*** Bug 25776 has been marked as a duplicate of this bug. ***


------- Additional Comments From vidur@netscape.com 2000-02-02 10:28 -------
*** Bug 26049 has been marked as a duplicate of this bug. ***


------- Additional Comments From vidur@netscape.com 2000-02-07 20:20 -------
Nominating for beta 1. Look at the number of DUPs on this one.


------- Additional Comments From Alan S. Jones 2000-02-08 16:19 -------
If this has really been moved to beta1 then shouldn't the milestone be set to 
m14 or m15?


------- Additional Comments From daver@netscape.com 2000-02-08 17:16 -------
adding [PDT+]


------- Additional Comments From vidur@netscape.com 2000-02-09 10:53 -------
Changing milestone.


------- Additional Comments From Mike McCabe 2000-02-10 16:17 -------
*** Bug 26541 has been marked as a duplicate of this bug. ***


------- Additional Comments From joki@netscape.com 2000-02-11 10:17 -------
Okay, vidur say's he thinks this should fully work now.  Resolving fixed


------- Additional Comments From brian 2000-02-11 16:37 -------
ondblclick event still doesn't fire. See attachment 4647. Also, you cannot tab 
to area elements (so keypress events cannot be tested), but that, I assume, is a 
separate bug.


------- Additional Comments From brian 2000-02-12 20:27 -------
I have verified that the ondblclick event does not fire for IMG or A elements so 
this is a separate bug. This bug is therefore resolved.


------- Additional Comments From janc@netscape.com 2000-02-14 18:43 -------
Not fixt. 
using the attachment 
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=4647

Win98:  2000021408
- onmouseout creates repeating alert dialog boxes which after efforts to close 
them crash the browser

Linux: 2000021416
- none of the tests work

Mac: 
- ondblclick doesn't work
- onmouseout creates repeating alert messages which quickly lock up the program, 
and eventually crash the system.
- onmouseover = same



------- Additional Comments From joki@netscape.com 2000-02-15 19:55 -------
Okay, fixed the repeating alert message problem.  The dblclick problem is 
covered elsewhere.  This is as far as this gets for M14.  The only remaining 
problem I see below that would keep this bug open is that part about this not 
working at all on Linux.  This is all xp code though, it really should work.  
Removing PDT+, moving to M15.  If someone with a working Linux build can verify 
this is still a problem I'd appreciate it with any additional info available.  
If we can verify this works on Linux this bug should be closed.


------- Additional Comments From leger@netscape.com 2000-02-16 17:22 -------
Putting on the PDT+ radar for beta1.  But please mark this one fixed and open 
additional bugs if necessary.


------- Additional Comments From joki@netscape.com 2000-02-16 21:41 -------
Fine.  Since as far as I know this should work fine on linux too i'm just going 
to mark it fixed then. 


------- Additional Comments From Prashant Desale 2000-02-24 16:30 -------
Reopening bug. I checked it with todays builds [02-24-09].

Not fixed. 
using the attachment 
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=1032

Win95:  2000022409
- onmouseout creates repeating alert dialog boxes which after efforts to close 
them crash the browser

Linux: 2000022409
- mouseout event does not fire.



------- Additional Comments From joki@netscape.com 2000-02-25 09:14 -------
The linux part of this is known and not a big deal.  The Win95 bit is new and 
the only part of this that might make this PDT+.  So is the suggestion here that 
it only fail on Win95?  Since the fix was developed on WinNT I'm asusming it 
still works there.  My build is a day or two old so I'm repulling to check.  But 
can someone verify that?


------- Additional Comments From David Baron 2000-02-25 09:28 -------
What's the bug# on the Linux problem?


------- Additional Comments From joki@netscape.com 2000-02-25 11:07 -------
I hadn't realized that was a different test case.  With the original one it 
works fine but with the one mentioned it does crash on WinNT as well.

I hadn't opened a seperate bug for the linux stuff since the last mention before 
this said the test case didn't work at all on linux which I was skeptical of and 
waiting for additional verfication.  The most recent comment says mouseout 
doesn't work which at least indicates the other stuff works.  That still seems a 
little odd to me, though.  it would be interesting to rewrite this test with 
'dump' instead of 'alert' and see what happens.


------- Additional Comments From Jim Roskind 2000-03-01 23:29 -------
Can we have an update, and a planned landing date?
I'm adding the comment to the status whiteboard that we'll have to PDT- this on
3/3.  Time is running out...


------- Additional Comments From joki@netscape.com 2000-03-03 10:59 -------
Okay, I have worked out a fix that doesn't scare me at all like a couple of 
others did.


------- Additional Comments From Kevin McCluskey 2000-03-03 12:48 -------
*** Bug 19178 has been marked as a duplicate of this bug. ***


------- Additional Comments From joki@netscape.com 2000-03-03 15:11 -------
Okay.  I've checked in a fix for the most recent problem, that of window level 
mouseover events which were actually occurring over the alert box constantly 
triggering the mouseexit handler direclty beneath the alert and causing a loop. 
I'll need to fix this a bit more later by differentiating these two types of 
events so we don't get them in content but that's a larger fix and can wait for 
post-beta.

Removing pdt+, removing beta1.  


------- Additional Comments From Doron Rosenberg 2000-03-16 10:26 -------
this was working before, but on the latest build, seems to be gone (at least for 
netscape.com)


------- Additional Comments From leger@netscape.com 2000-03-17 16:50 -------
Putting on the PDT- radar for beta1.


------- Additional Comments From janc@netscape.com 2000-03-31 13:26 -------
adding beta2 keyword, and removing pdt status


------- Additional Comments From paulmac@netscape.com 2000-04-03 18:52 -------
removing beta1 keyword so it doesn't show up on beta1 radar


------- Additional Comments From joki@netscape.com 2000-04-04 12:22 -------
Mass-moving bugs out of M15 that I won't get to.  Will refit individual 
milestones after moving them.


------- Additional Comments From leger@netscape.com 2000-04-27 18:02 -------
PDT would like a retest with latest build please.  Thanks!


------- Additional Comments From David Baron 2000-04-27 19:19 -------
Filed crash bug on second testcase as bug 37479.  Some of the events in that
testcase still don't work.  However:
 * some of them shouldn't work (key/focus events)
 * For the ones that don't, do they work on other elements?  (I don't know.) 
If  they don't, are appropriate bugs filed?


------- Additional Comments From janc@netscape.com 2000-05-05 15:05 -------
using attachment 4647:

ondblclick doesn't work on any platform
onmousemove locks up the browser on the mac 

2000-05-05-08-M16  Win32
2000-05-05-13-M16  Linux
2000-05-05-10-M16  Mac


------- Additional Comments From leger@netscape.com 2000-05-05 19:46 -------
Removing [RETEST NEEDED] for PDT re-eval ...thanks!


------- Additional Comments From Nisheeth Ranjan 2000-05-11 22:41 -------
*** Bug 28858 has been marked as a duplicate of this bug. ***


------- Additional Comments From leger@netscape.com 2000-05-18 15:27 -------
Putting on [nsbeta2+] radar for beta2 fix. 


------- Additional Comments From harishd@netscape.com 2000-06-13 11:51 -------
Taking from Joki for analysis.


------- Additional Comments From harishd@netscape.com 2000-06-15 16:44 -------
All events except "onDblClick" [ 06/13/00 build ]. And "onMouseMove" did not 
lock up mac [ 06/12/00 build ]. Jan, could you verify this? Thanx.



------- Additional Comments From harishd@netscape.com 2000-06-15 16:45 -------
All events except "onDblClick" [ 06/13/00 build ] work. And "onMouseMove" did 
not lock up mac [ 06/12/00 build ]. Jan, could you verify this? Thanx.



------- Additional Comments From ckritzer@netscape.com 2000-06-19 15:20 -------
Checked this out on MacOS9 2000-061908-M17 build and all events except dblclick
and onselect work.

Harish, check out http://voodoolady/events/mousies for testcases related to
mouse and key events.  I'll try to post those to an external website as well for
folks outside the firewall...


------- Additional Comments From harishd@netscape.com 2000-06-20 19:00 -------
From ckritzer's comment I understand that we don't freeze on MAC anymore. 

Events not working:
 OnSelect ( Ref. Bug 4033 )
 OnDblClick (Ref. Bug 29473 )

Tom, what should we do with this bug?


------- Additional Comments From harishd@netscape.com 2000-06-21 09:53 -------
Okay, the bug seems to be fixed.

Btw, OnSelect is not supposed to work on IMG maps...and onDblClick will be dealt 
as a different bug ( probably 29473 ).  

Closing the bug.


------- Additional Comments From janc@netscape.com 2000-07-12 16:05 -------
I'm going to verify this bug with the note that there are still a couple of 
things happening wrong. I think they are new bugs, so I'm going to write them up 
in a new bug and ref this bug in it.

2000-07-12-11-M17 : Linux
onMouseOver brings up 2 alert boxes

2000-07-12-13-M17 : Mac
onMouseout & onMouseOver bring up 2 alert boxes

2000-07-12-09-M17 : WinNT & Win98
Verified 

(onDoubleClick is indeed covered on bug 29473)

     Query page      Enter new bug
This is Bugzilla: the Mozilla bug system. For more information about what Bugzilla is and what it can do, see mozilla.org's bug pages.
Actions: New | Query | bug # | Reports  New account | Log in