4 <p id=
"description">This test verifies that forward delete at the end of a table-cell is a no-op. The first dump verifies that the caret stays after 'abc'. The second dump verifies that the caret stays after 'def', and doesn't select the nested table.
</p>
5 <div id=
"test" contenteditable=
"true"><table border=
"1"><tr><td id=
"first">abc
</td><td id=
"second">def
</td><td><table><tr><td>ghi
</td><td>jkl
</td></tr></table></td></tr></table></div>
6 <script src=
"../../resources/dump-as-markup.js"></script>
8 Markup
.description(document
.getElementById("description").innerText
);
10 window
.getSelection().collapse(document
.getElementById("first").firstChild
, 3);
11 document
.execCommand("ForwardDelete");
14 window
.getSelection().collapse(document
.getElementById("second").firstChild
, 3);
15 document
.execCommand("ForwardDelete");