Open Bug 176621 Opened 22 years ago Updated 2 years ago

MouseOut fired when entering input[type="text"]

Categories

(Core :: DOM: Events, defect, P5)

x86
All
defect

Tracking

()

People

(Reporter: dan.j.allen, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

This could possibly be more instances of form elements, but if you put an
onmouseout on a form element of type="text" and head slowly into the element,
you will find that after crossing the border (which is where the mouseover is
correctly fired) you will see the onmouseout fire just as you drop into the
actual text entry section (if you leave the cursor at the default setting you
will see it change at this point).  This is obviously not correct as a border
and element must be considered one in the same.
events.  Seeing this with an Oct 22 build as well.  I checked and the event
target is indeed the <input>
Assignee: rogerl → joki
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → DOM Events
Ever confirmed: true
QA Contact: pschwartau → vladimire
Probably has something to do with the way textboxes work internally, ccing jkeiser
OS: Linux → All
Priority: -- → P3
Keywords: testcase
This would be because the textbox has an anonymous <div> in it, so when the
mouse moves from the textbox to the anonymous div, mouseout is fired on the
textbox.  A very difficult problem; on the one hand, content shouldn't be told
that things like this happen on a <div>, but on the other hand, the <div> itself
might need to know.
Assignee: joki → nobody
QA Contact: vladimire → events
Bulk priority change, per :mdaly
Priority: P3 → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: