Re: [whatwg/dom] Proposal: ParentNode.replaceAll() / ParentNode.replaceChildren() (#478)

Given `replaceChild()` and `removeChild()`, I think `replaceChildren()` would be consistent. `setChildren()` would also be acceptable if something shorter is preferred.

`Contents` is really only used by ranges, not nodes, and signifies that ranges "contain" something different from children. `All` only has an established meaning for retrieval APIs.

-- 
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/478#issuecomment-480208393

Received on Friday, 5 April 2019 09:22:09 UTC