[whatwg/dom] compareDocumentPosition with Attr nodes still not quite right (#309)

Context:
https://github.com/whatwg/dom/pull/299/files/82df412250bd1321562cbe50574219860b976645#r75397386
https://github.com/whatwg/dom/pull/299#issuecomment-240875443

There was a partial fix in https://github.com/whatwg/dom/pull/299/commits/6ae89edd25191d59822f90f2b5558ab22593048e, but when two Attr nodes attached to elements in the same tree and when you're comparing an Attr node to an element in the same tree it shouldn't do the pointer comparison, but instead behave as if the Attr nodes are children of its element.

@cdumez

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/309

Received on Monday, 22 August 2016 08:50:27 UTC