compareDocumentPosition now comples with WHATWG. Need to re-implement a whole bunch of tests