4 <title>Forward deleting in an empty table cell
</title>
5 <script src=
"../../resources/dump-as-markup.js"></script>
8 <div id=
"edit" contentEditable=
"true">
11 <tr><td>1</td><td>2</td></tr>
12 <tr><td>3</td><td id=
"fourth"><br></td></tr>
18 Markup
.description("This tests forward deleting in an empty table cell. The cursor shouldn't move.");
20 var fourthCell
= document
.getElementById("fourth");
22 var range
= document
.createRange();
23 range
.selectNodeContents(fourthCell
);
24 window
.getSelection().addRange(range
);
26 document
.execCommand("ForwardDelete");
28 Markup
.dump(document
.getElementById("edit"));