Closed Bug 390432 Opened 17 years ago Closed 17 years ago

Event DOMNodeInserted not triggered when appending (nodes via) documentFragment

Categories

(Core :: DOM: Core & HTML, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 388563

People

(Reporter: jaroslav.zaruba, Unassigned)

Details

(Keywords: regression)

Attachments

(1 file)

2.11 KB, application/xhtml+xml
Details
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6

'DOMNodeInserted' event should get triggered for each childNode of a documentFragment.

Reproducible: Always

Steps to Reproduce:
1. set-up a 'DOMNodeInserted' event-listener on the document
2. create a documentFragment with some content
3. append the documentFragment into the document
Actual Results:  
'DOMNodeInserted' event is not triggered

Expected Results:  
'DOMNodeInserted' event should get triggered
Attached file testcase
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007080204 Minefield/3.0a7pre

This works for me on trunk. May be related to bug 388563. Can you see if you can reproduce this in a current trunk build? http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ I would suggest testing with a new profile. http://kb.mozillazine.org/Profile_Manager
Component: General → DOM
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → 1.8 Branch
yes, with 3.0a7pre it works
Tentatively marking as a dupe of bug 388563. This worked in 2.0.0.4, but is broken in 2.0.0.5/2.0.0.6. I think it's the same root cause as bug 388563.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Keywords: regression
Resolution: --- → DUPLICATE
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: