blob: 8293f55d239b6d9e969ec540dea86836a49f1eba [file] [log] [blame]
This test makes sure that deletion of an element auto-removes a blank element before it. Below, you should see "start-deleting", followed by several lines showing the states of the content-editable div over time, ending with 'start-deleting' inside a span id'd as "test".
start-deleting
execDeleteCommand: <span id="test">foo <br>foo <i> </i> <img src="../resources/abe.png"> select-in-me-andstart-deleting</span>
execDeleteCommand: <span id="test">foo <br>foo <i> </i> <img src="../resources/abe.png"> select-in-me-anstart-deleting</span>
execDeleteCommand: <span id="test">foo <br>foo <i> </i> <img src="../resources/abe.png"> select-in-me-astart-deleting</span>
execDeleteCommand: <span id="test">foo <br>foo <i> </i> <img src="../resources/abe.png"> select-in-me-start-deleting</span>
execDeleteCommand: <span id="test">foo <br>foo <i> </i> <img src="../resources/abe.png"> select-in-mestart-deleting</span>
execDeleteCommand: <span id="test">foo <br>foo <i> </i> <img src="../resources/abe.png"> select-in-mstart-deleting</span>
execDeleteCommand: <span id="test">foo <br>foo <i> </i> <img src="../resources/abe.png"> select-in-start-deleting</span>
execDeleteCommand: <span id="test">foo <br>foo <i> </i> <img src="../resources/abe.png"> select-instart-deleting</span>
execDeleteCommand: <span id="test">foo <br>foo <i> </i> <img src="../resources/abe.png"> select-istart-deleting</span>
execDeleteCommand: <span id="test">foo <br>foo <i> </i> <img src="../resources/abe.png"> select-start-deleting</span>
execDeleteCommand: <span id="test">foo <br>foo <i> </i> <img src="../resources/abe.png"> selectstart-deleting</span>
execDeleteCommand: <span id="test">foo <br>foo <i> </i> <img src="../resources/abe.png"> selecstart-deleting</span>
execDeleteCommand: <span id="test">foo <br>foo <i> </i> <img src="../resources/abe.png"> selestart-deleting</span>
execDeleteCommand: <span id="test">foo <br>foo <i> </i> <img src="../resources/abe.png"> selstart-deleting</span>
execDeleteCommand: <span id="test">foo <br>foo <i> </i> <img src="../resources/abe.png"> sestart-deleting</span>
execDeleteCommand: <span id="test">foo <br>foo <i> </i> <img src="../resources/abe.png"> sstart-deleting</span>
execDeleteCommand: <span id="test">foo <br>foo <i> </i> <img src="../resources/abe.png">&nbsp;start-deleting</span>
execDeleteCommand: <span id="test">foo <br>foo <i> </i> <img src="../resources/abe.png">start-deleting</span>
execDeleteCommand: <span id="test">foo <br>foo start-deleting</span>
execDeleteCommand: <span id="test">foo <br>foostart-deleting</span>
execDeleteCommand: <span id="test">foo <br>fostart-deleting</span>
execDeleteCommand: <span id="test">foo <br>fstart-deleting</span>
execDeleteCommand: <span id="test">foo <br>start-deleting</span>
execDeleteCommand: <span id="test">foo start-deleting</span>
execDeleteCommand: <span id="test">foostart-deleting</span>
execDeleteCommand: <span id="test">fostart-deleting</span>
execDeleteCommand: <span id="test">fstart-deleting</span>
execDeleteCommand: <span id="test">start-deleting</span>