[whatwg/dom] .replaceWith specification question (#502)

I'm trying to implement https://dom.spec.whatwg.org/#dom-childnode-replacewith in [jsdom](https://github.com/tmpvar/jsdom/pull/1947)

1. Let parent be context object’s parent.

and later:

5. If context object’s parent is parent, ...

Isn't there an issue here? it seems the 5. is always true, or I'm not understanding it well

-- 
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/502

Received on Wednesday, 23 August 2017 18:34:45 UTC