[Bug 17541] Carefully think through how Range.insertNode should behave when the node to be inserted is already at the beginning of the range

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17541

--- Comment #8 from Aryeh Gregor <ayg@aryeh.name> ---
If we want to leave the DOM in a consistent state, yes, I think so.  I.e., if
we don't want an algorithm that's going to fail in the end to do the job
halfway before failing.  I think this would be useful for some of the other
nontrivial algorithms in the spec as well, although I can't remember which
offhand.  If we want things to be fully correct, we should split out all those
checks into a separate algorithm we can call from wherever needed.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 24 April 2014 12:47:24 UTC