4 <p>This test checks that deleting into a table works properly. When deleting three times with the cursor after the character
"a" in the
"after" text after the table, the
"a" should be deleted, as should the
"o" of
"buffalo" in the last table cell.
</p>
5 <div contenteditable=
"true" id=
"root">
7 <table style=
"border:3px solid #aaa;">
25 <span id=
"start">after
</span>
27 <script src=../editing.js
></script>
29 function editingTest() {
30 var selection
= window
.getSelection();
31 var s
= document
.getElementById("start");
32 selection
.collapse(s
, 0);
33 execMoveSelectionForwardByCharacterCommand();
34 for (i
= 0; i
< 3; i
++) {
38 runDumpAsTextEditingTest();