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:
tor%cs.brown.edu
2007-03-10 13:49:43 +00:00
parent 2c7fe1e4a9
commit 624fbcce20
17 changed files with 156 additions and 38 deletions

View File

@@ -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 *