Closed Bug 103060 Opened 24 years ago Closed 21 years ago

DOMNodeInserted not fired when <link> added to <head>

Categories

(Core :: DOM: Events, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME
mozilla1.0.1

People

(Reporter: jwbaker, Assigned: hyatt)

Details

(Keywords: testcase)

Attachments

(1 file, 1 obsolete file)

When I add a new <link> element to the <head>, I do not get any DOMNodeInserted events. Testcase attached. This partially blocks the links toolbar, which wants to update itself if a <link> is programmatically added.
Attached file test case (obsolete) —
cc += hyatt because he seems to have a bunch of the other mutation stuff.
Keywords: testcase
This does not block the links toolbar if the links toolbar relies on the <link> to fire a custom DOM event. See some of my other comments in the link toolbar bugs.
I agree that the custom event sounds like a better runtime performer. But do you have any insight as to whether the behavior in this bug is expected or not? I am not sure if perhaps <head> was specifically excluded from mutation events.
Oh yes, this is still a bug. The event shoudl have fired.
Passing to hyatt to see if he wants to schedule this for an upcoming milestone. I'll take it back if he doesn't want it but not sure when I'll get to it.
Assignee: joki → hyatt
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0.1
Attachment #52010 - Attachment is obsolete: true
This worksforme.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
WFM, 2.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: