This test splits a text node by inserting a new paragraph and bolds the the first half. | |
After undoing these two steps, it removes the text node, and then redo. The test should not crash. (See bug 42941). | |
before undo: | |
| <b> | |
| "<#selection-anchor>he<#selection-focus>" | |
| <div> | |
| "llo" | |
after undo: | |
| "he<#selection-caret>llo" | |
after node removal: | |
| | |
after redo: | |
| <div> | |
| "<#selection-caret>hello" |