diff --git a/reference/dom/domnode.xml b/reference/dom/domnode.xml index de8d563bce2b..638fa2a1e7db 100644 --- a/reference/dom/domnode.xml +++ b/reference/dom/domnode.xml @@ -24,6 +24,50 @@ DOMNode + &Constants; + + public + const + int + DOMNode::DOCUMENT_POSITION_DISCONNECTED + 0x1 + + + public + const + int + DOMNode::DOCUMENT_POSITION_PRECEDING + 0x2 + + + public + const + int + DOMNode::DOCUMENT_POSITION_FOLLOWING + 0x4 + + + public + const + int + DOMNode::DOCUMENT_POSITION_CONTAINS + 0x8 + + + public + const + int + DOMNode::DOCUMENT_POSITION_CONTAINED_BY + 0x10 + + + public + const + int + DOMNode::DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC + 0x20 + + &Properties; public @@ -139,7 +183,49 @@ - + +
+ &reftitle.constants; + + + DOMNode::DOCUMENT_POSITION_DISCONNECTED + + The nodes are in a different tree. + + + + DOMNode::DOCUMENT_POSITION_PRECEDING + + The other node precedes this node. + + + + DOMNode::DOCUMENT_POSITION_FOLLOWING + + The other node follows this node. + + + + DOMNode::DOCUMENT_POSITION_CONTAINS + + The other node is an ancestor of this node. + + + + DOMNode::DOCUMENT_POSITION_CONTAINED_BY + + The other node is a descendant of this node. + + + + DOMNode::DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC + + The result is implementation-specific and not portable. + + + +
+
&reftitle.properties; @@ -292,6 +378,19 @@ + + 8.4.0 + + Constants DOMNode::DOCUMENT_POSITION_DISCONNECTED, + DOMNode::DOCUMENT_POSITION_PRECEDING, + DOMNode::DOCUMENT_POSITION_FOLLOWING, + DOMNode::DOCUMENT_POSITION_CONTAINS, + DOMNode::DOCUMENT_POSITION_CONTAINED_BY, + and + DOMNode::DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC + have been added. + + 8.3.0