OLD | NEW |
(Empty) | |
| 1 Range::didSplitTextNode() should not yield an invalid Range object nor cause a c
rash inside surroundContents(). |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 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 |
| 16 PASS Did not crash. |
| 17 PASS successfullyParsed is true |
| 18 |
| 19 TEST COMPLETE |
| 20 |
OLD | NEW |