Add notes about `compareDocumentPosition`.