3 <p>This tests for a crash when removing a selection ends with a fully selected table row.
</p>
5 <div contenteditable=
"true">
6 <div id=
"start">foo
<br><br></div>
8 <tr><td>foo
</td><td>bar
</td><td id=
"end"></td></tr>
9 <tr><td>foo
</td><td>bar
</td><td>baz
</td></tr>
14 if (window
.testRunner
)
15 window
.testRunner
.dumpAsText();
17 start
= document
.getElementById("start");
18 end
= document
.getElementById("end");
20 window
.getSelection().setBaseAndExtent(start
, start
.childNodes
.length
, end
, end
.childNodes
.length
);
21 document
.execCommand("Delete");