Re: [whatwg/dom] replaceChildren contains a step that is incorrect when node is null (#901)

> The _node_ argument there is the result of step 1's "converting nodes into a node", which I'm pretty sure can never return null, right?

Yes you’re right. I was confused because the first step of that says it set node to null, but I see now that it’s an empty document fragment in that case.

-- 
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/901#issuecomment-706633930

Received on Sunday, 11 October 2020 01:13:40 UTC