[dom] Some fix for replace algo and question (#129)

https://domspecwhatwgorg/#concept-node-replace
12 If child’s parent is not null, set removedNodes to a list solely containing child and remove child from its parent with the suppress observers flag set << first "parent" and "remove" should not be linked? Especially for "remove" because I don't know if you mean "remove algo" or direct term

And have another question, why in step 13 we again remove `child` from its `parent`? We have it in step 12, or, if `child` is same as `node`, then removing from `parent` is done in step 10 via "adopt algo" (https://domspecwhatwgorg/#concept-node-adopt) 


---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/129

Received on Wednesday, 16 December 2015 14:50:41 UTC