1 Range::didSplitTextNode() should not yield an invalid Range object nor cause a crash inside surroundContents().
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS textContainer.childNodes.length is 1
7 PASS range.startContainer === textToBeSplit is true
8 PASS range.startOffset is 7
9 PASS range.endContainer === textContainer is true
10 PASS range.endOffset is 1
11 PASS textContainer.childNodes.length is 3
12 PASS range.startContainer === newTextNode is true
13 PASS range.startOffset is 1
14 PASS range.endContainer === textContainer is true
15 PASS range.endOffset is 3
17 PASS successfullyParsed is true