12 <script src=../editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
16 function editingTest() {
17 for (i
= 0; i
< 28; i
++) {
18 moveSelectionForwardByCharacterCommand();
20 for (i
= 0; i
< 28; i
++) {
27 <title>Editing Test
</title>
30 <p>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".
</p>
31 <div contenteditable
id=
"root" class=
"editing">
33 <br>foo
<i> </i> <img src=
"../resources/abe.png"> select-in-me-and-start-deleting
</span>
37 runDumpAsTextEditingTest();