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

It would end up being the same as if the element was compared to its child. So the problem is the addition of DOCUMENT_POSITION_CONTAIN[S|EN_BY].

So would a fix here by that step 7 and 8 also check that attr1 and attr2 are null?

-- 
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#issuecomment-241405181

Received on Monday, 22 August 2016 13:01:57 UTC