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

Hmm. I need a help to understand the issue. Could someone explain what is the spec non-compliant behavior in compareDocumentPosition, in terms of  ShadowRoot, in Blink? I could not find it in this discussion.

The code is here: https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/dom/Node.cpp?q=compareDocument&sq=package:chromium&l=1344

I have not touched this code much, but I think authors have updated this function to consider ShadowRoot, without knowing that it would break external API behavior.



-- 
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-241940153

Received on Wednesday, 24 August 2016 02:27:27 UTC