Searched refs:otherNode (Results 1 – 1 of 1) sorted by relevance
1716 unsigned short Node::compareDocumentPosition(const Node* otherNode) const in compareDocumentPosition()1718 return compareDocumentPositionInternal(otherNode, TreatShadowTreesAsDisconnected); in compareDocumentPosition()1721 unsigned short Node::compareDocumentPositionInternal(const Node* otherNode, ShadowTreesTreatment tr… in compareDocumentPositionInternal() argument1724 if (!otherNode) in compareDocumentPositionInternal()1727 if (otherNode == this) in compareDocumentPositionInternal()1731 const Attr* attr2 = otherNode->nodeType() == ATTRIBUTE_NODE ? toAttr(otherNode) : 0; in compareDocumentPositionInternal()1734 const Node* start2 = attr2 ? attr2->ownerElement() : otherNode; in compareDocumentPositionInternal()1739 …unsigned short direction = (this > otherNode) ? DOCUMENT_POSITION_PRECEDING : DOCUMENT_POSITION_FO… in compareDocumentPositionInternal()1776 …unsigned short direction = (this > otherNode) ? DOCUMENT_POSITION_PRECEDING : DOCUMENT_POSITION_FO… in compareDocumentPositionInternal()1792 …unsigned short direction = (this > otherNode) ? DOCUMENT_POSITION_PRECEDING : DOCUMENT_POSITION_FO… in compareDocumentPositionInternal()