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:
caillon%returnzero.com
2003-06-12 02:54:16 +00:00
parent b651d02056
commit fb75cd3bbb
10 changed files with 57 additions and 56 deletions

View File

@@ -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;
}
}