compareDocumentPosition