Closed Bug 40249 Opened 25 years ago Closed 25 years ago

replacing innerHTML with same content allows onmouseover to happen again

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED DUPLICATE of bug 6316

People

(Reporter: jruderman, Assigned: joki)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

if you replace the innerHTML of a div while the mouse is over the div, the next time the mouse moves a pixel within the div, onmouseover is triggered a second time. if the mouse is moved off of the div just after the innerHTML is changed, onmouseout doesn't fire. note that the innerHTML is being replaced by the same content in the testcase, but this bug should be fixed even if the content changes slightly. the flicker when replacing innerHTML is a separate bug (not yet reported?). the spacing in the testcase is different in IE and moz because of the unrelated bug 29361.
Attached file test case
Keywords: testcase
Glad the waste of web space that is turbogeek.org could do something worthwhile. I'm very clueless on any HTML past the 2.0 spec, so after this bug is resolved, if my code is still wrong, someone tell me the code to make this effect work in mozilla/nscp6... if it breaks ie5 thats fine. That page is occasionally causing a seg fault on lastnights linux mozilla. It seems to be easier to reprocuce with sidebar off. reload the page and quicking mouseover the top two links, and click on the third. That seems to be the most reproducable way.
I believe this one belongs to you Joki, but I'm not sure there's a lot we can do about this.
Oops, forgot to really reassign this :)
Assignee: jst → joki
Marking this as a dupe of 6316 *** This bug has been marked as a duplicate of 6316 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Verified Duplicate.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: