Bug 5764 - DIV mouseOver and mouseOut triggered too often
Summary: DIV mouseOver and mouseOut triggered too often
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-16 14:31 PST by Calle
Modified: 2006-03-20 12:50 PST (History)
1 user (show)

See Also:


Attachments
testcase (155 bytes, text/html)
2005-11-22 14:16 PST, Joost de Valk (AlthA)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Calle 2005-11-16 14:31:31 PST
The onMouseOver and onMouseOut events are triggered at every mouse movement over the test in a DIV, 
as in the following,

<DIV STYLE="width: 300px; height: 30px; border: 1px solid black;" onMouseOver="alert('Irritaing, 
huh?');">This is a DIV</DIV>
Comment 1 Joost de Valk (AlthA) 2005-11-22 14:16:31 PST
Created attachment 4774 [details]
testcase
Comment 2 Joost de Valk (AlthA) 2005-11-22 14:20:40 PST
of onMouseOver should only trigger once, when you enter the element, this IS a bug. and yes, it is 
annoying.
Comment 3 Eric Seidel (no email) 2005-12-27 16:10:50 PST
It seems to be related to the text content.  Nice testcase.
Comment 4 Maioli Giacomo Luca 2006-03-01 01:48:07 PST
This happens to me too. It doesn't affect Divs, but text elements. It goes fine with divs and images, but it gives problem with elements containing text.
Comment 5 mitz 2006-03-01 09:30:57 PST
I can reproduce with WebKit-417.9 but not with TOT (r13060). Is the bug completely fixed in TOT or is there a test case where it still shows (perhaps along the lines of comment #4)?
Comment 6 Alexey Proskuryakov 2006-03-20 12:50:18 PST
A test for this has been landed with a fix for bug 3439. Please open a new bug (or bugs) if there are other examples of this behavior, still reproducible with current nightly builds.