Bug 373089 - add a ParentChainChanged notification to nsIMutationObserver.
r+sr=sicking git-svn-id: svn://10.0.0.236/trunk@221698 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -600,6 +600,8 @@ nsGenericDOMDataNode::BindToTree(nsIDocument* aDocument, nsIContent* aParent,
|
||||
}
|
||||
}
|
||||
|
||||
nsNodeUtils::ParentChainChanged(this);
|
||||
|
||||
NS_POSTCONDITION(aDocument == GetCurrentDoc(), "Bound to wrong document");
|
||||
NS_POSTCONDITION(aParent == GetParent(), "Bound to wrong parent");
|
||||
NS_POSTCONDITION(aBindingParent == GetBindingParent(),
|
||||
@@ -625,6 +627,8 @@ nsGenericDOMDataNode::UnbindFromTree(PRBool aDeep, PRBool aNullParent)
|
||||
if (slots) {
|
||||
slots->mBindingParent = nsnull;
|
||||
}
|
||||
|
||||
nsNodeUtils::ParentChainChanged(this);
|
||||
}
|
||||
|
||||
nsIAtom *
|
||||
|
||||
Reference in New Issue
Block a user