Closed
Bug 481468
Opened 17 years ago
Closed 16 years ago
DOM operations (appendChild, removeChild) on blur break focus
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: anba, Unassigned)
References
Details
Attachments
(1 file)
|
1.49 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6
When a blurring input-field is removed from DOM and re-appended into DOM, the focus is not set to the newly selected input-field. And it's possible to get text-highlight in two input-fields simultaneously.
The bug didn't occur when using the tab-key to move focus to next element, so it's only reproducible by using the mouse.
It works as expected in Safari 3.2.2, Opera 9.64 and Internet Explorer 6.
Reproducible: Always
Steps to Reproduce:
1. Click into top input-field
2. Click into second input-field
3.
Actual Results:
Second input-field is not focused
Expected Results:
Second input-field is focused
| Reporter | ||
Comment 1•17 years ago
|
||
Comment 2•17 years ago
|
||
Enn, any chance your change will fix this?
Comment 3•17 years ago
|
||
Should do. It will notify when content gets removed and blur it (without events as there isn't a frame anymore). The testcase for the focus bug has some tests for element removal.
The testcase here works fine when the bug 178324 patch is applied.
Comment 4•16 years ago
|
||
This bug should have been fixed by 178324.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•