- From: Philip Jägenstedt <notifications@github.com>
- Date: Fri, 27 Nov 2015 02:47:53 -0800
- To: whatwg/dom <dom@noreply.github.com>
Received on Friday, 27 November 2015 10:48:20 UTC
Step 3 is for a case like `parent.insertBefore(a, a)`, by turning it into `parent.insertBefore(a.nextSibling, a)`, but that wouldn't change the DOM. What I'm looking for is the design principle that is upheld in **pre-insert** but not in **replace**. Should these APIs be no-ops when possible, or should they always remove and reinsert once? --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/121#issuecomment-160111409
Received on Friday, 27 November 2015 10:48:20 UTC