Re: [dom] Consider banning insertNode() of the Range's start node (#63)

@smaug The change improves consistency from a certain perspective.  If the range's start is inside a non-text node and you try to insert the start node, it will throw.  With this change, if it's in a text node and you try to insert the start node, it will also throw.  What is the advantage in consistency in the other way?  Why should text nodes behave differently from elements?

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/63#issuecomment-146274905

Received on Wednesday, 7 October 2015 17:46:48 UTC