Bug 209133
Make |Node| from script recognize constants defined in nsIDOM3Node. Move DOM3 constants over to nsIDOM3Node. Update the names and values to reflect the latest draft of the DOM 3 Core (Last Call) r=timeless sr=jst git-svn-id: svn://10.0.0.236/trunk@143619 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -677,7 +677,7 @@ nsContentList::ContentAppended(nsIDocument *aDocument, nsIContent* aContainer,
|
||||
nsresult rv =
|
||||
ourLastDOM3Node->CompareDocumentPosition(newNode, &comparisonFlags);
|
||||
if (NS_SUCCEEDED(rv) &&
|
||||
(comparisonFlags & nsIDOMNode::DOCUMENT_POSITION_FOLLOWING)) {
|
||||
(comparisonFlags & nsIDOM3Node::DOCUMENT_POSITION_FOLLOWING)) {
|
||||
appendToList = PR_TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user