Closed
Bug 109962
Opened 23 years ago
Closed 22 years ago
<input onblur="this.focus()"> doesn't work
Categories
(Core :: DOM: Events, defect)
Tracking
()
mozilla1.2alpha
People
(Reporter: han.holl, Assigned: saari)
References
Details
Attachments
(1 file)
248 bytes,
text/html
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5+) Gecko/20011111
BuildID: 2001111109
HTMLInputElement.focus() doesn't seem to work at all.
Simple test is something like:
<input type="text" onblur="this.focus()">
Reproducible: Always
Steps to Reproduce:
1.Type some characters and click outside the text field
2.
3.
Actual Results: Focus lost
Expected Results: Focus should remain in (or return to) the field.
Works in IE and (differently) in NS 4.77 and Opera (checking my sanity).
Comment 2•23 years ago
|
||
Confirming issue as described.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•23 years ago
|
||
Layout is not a good component for this. Since onBlur="this.focus()" is failing,
I'll try DOM (though it may be an event issue, or somethig else, what do I know?)
Component: Layout → DOM Events
Comment 4•23 years ago
|
||
really reassign...
Assignee: attinasi → joki
QA Contact: petersen → vladimire
Comment 5•23 years ago
|
||
*** Bug 120995 has been marked as a duplicate of this bug. ***
Comment 6•23 years ago
|
||
*** Bug 107988 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 7•23 years ago
|
||
Interesting, but not in 1.0 timeframe
Assignee: joki → saari
Target Milestone: --- → mozilla1.2
Updated•22 years ago
|
Summary: Text input field doesn't get focus after HTMLInputElement.focus() → <input onblur="this.focus()"> doesn't work
Comment 10•22 years ago
|
||
yes.
*** This bug has been marked as a duplicate of 53579 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•