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)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: anba, Unassigned)

References

Details

Attachments

(1 file)

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
Enn, any chance your change will fix this?
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.
Depends on: 178324
This bug should have been fixed by 178324.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: