Re: [whatwg/dom] Proposal: ChildNode.wrapWith() (#479)

For historical context, a semantically [similar API](https://msdn.microsoft.com/en-us/library/ff520928(v=vs.85).aspx) existed in the earliest versions of Internet Explorer as `elem.applyElement(child, "outside")`. The platform has started a trend toward 'this' operations, like (`remove`, `replaceWith`), so this idea is not entirely out-of-place anymore.

-- 
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/479#issuecomment-422510806

Received on Tuesday, 18 September 2018 19:06:02 UTC