- From: Andrea Giammarchi <notifications@github.com>
- Date: Mon, 14 Jun 2021 00:28:46 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 14 June 2021 07:29:08 UTC
> If child is null, this prepends node as the first child. with `insertBefore`, if `child` is `null` the element is appended (like `appendChild` would do) ... I find this behavior a bit controversial ... the *before* "*appends* with null, the *after* "*prepend*" with null as first child ... am I the only one not fully getting the use case for prepending as first child with a method called *after* ? -- 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/986#issuecomment-860452452
Received on Monday, 14 June 2021 07:29:08 UTC