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

Sorry for being unclear -- all browsers always threw if you did this with a non-text node, so I specified text node.  The insert validity checks will throw if it's a non-text node, or if you try to insert an ancestor of the start node, so the difference is only for text nodes.

Gecko's behavior may be exactly what the spec said before.  IE is not exactly the same, but is roughly (it has at least one or two extra special cases).

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

Received on Thursday, 8 October 2015 12:12:14 UTC