Closed
Bug 230356
Opened 22 years ago
Closed 18 years ago
Functions bound to focus or blur events not run when event occurs on text input elements
Categories
(Core :: DOM: Events, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: alex.murray, Unassigned)
References
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a) Gecko/20040107
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a) Gecko/20040107
Functions bound to the focus and blur events are not run when the events occur
on text input elements - bound functions run as they should when the events
occur on select elements (for example).
Reproducible: Always
Steps to Reproduce:
Reporter | ||
Comment 1•22 years ago
|
||
Passing focus to the Select object also seems to fire an extraneous blur event
before the focus event. Not sure if this is a bug.
![]() |
||
Comment 2•22 years ago
|
||
focus events just don't bubble from text inputs. Arguably, they should not
bubble at all (per the spec, they shouldn't).
Depends on: 4033
![]() |
||
Updated•21 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
![]() |
||
Comment 3•21 years ago
|
||
*** Bug 286613 has been marked as a duplicate of this bug. ***
Comment 4•18 years ago
|
||
Sure this is a bug. Doing complex forms with all events bugs is impossible.
It seems that "event code" has not been reviewed since a long time ago.
Bug confirmed in FF 2.0.4
Comment 5•18 years ago
|
||
Per DOM Events recommendation focus and blur events don't bubble, so
capturing event listeners should be used. This bug is INVALID.
(It was a bug that focus and blur events did bubble in some cases.)
Updated•18 years ago
|
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•