Closed
Bug 346744
Opened 18 years ago
Closed 18 years ago
Make nsIContent::AppendChildTo into an inline forward to nsIContent::InsertChildAt
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
People
(Reporter: sicking, Assigned: sicking)
References
Details
Attachments
(1 file)
28.26 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
bz and I have talked about this a bit so I figured I should just go ahead and do it. The one issue with this is that having AppendChildTo used to allow us to work properly with lazy templates in XUL. However that is currently broken anyway. I think the way to solve that is to make the XUL prototype wrapping code call some special function on nsXULElement so this patch should not make that harder.
Assignee | ||
Comment 1•18 years ago
|
||
Assignee: general → bugmail
Status: NEW → ASSIGNED
Attachment #231492 -
Flags: superreview?(bzbarsky)
Attachment #231492 -
Flags: review?(bzbarsky)
Comment 2•18 years ago
|
||
Comment on attachment 231492 [details] [diff] [review] Patch to fix >Index: content/xtf/src/nsXTFElementWrapper.cpp >- if (mNotificationMask & (nsIXTFElement::NOTIFY_WILL_APPEND_CHILD | >- nsIXTFElement::NOTIFY_CHILD_APPENDED)) So we can nuke those two enum values from the IDL, right? >- GetXTFElement()->WillAppendChild(domKid); ... >- GetXTFElement()->ChildAppended(domKid); And those methods? File a followup bug on XTF on that? r+sr=bzbarsky
Attachment #231492 -
Flags: superreview?(bzbarsky)
Attachment #231492 -
Flags: superreview+
Attachment #231492 -
Flags: review?(bzbarsky)
Attachment #231492 -
Flags: review+
Assignee | ||
Comment 3•18 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•18 years ago
|
||
I filed bug 346754 on the xtf issue
Updated•18 years ago
|
Flags: in-testsuite-
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•