4 sel
= window
.getSelection();
5 start
= document
.getElementById("test" + num
+ "start");
6 end
= document
.getElementById("test" + num
+ "end");
7 sel
.setBaseAndExtent(start
, 0, start
, 0);
8 document
.execCommand("Delete");
11 <p><a href=
"rdar://problem/5565461"> Radar
5565461</a>
13 <a href=
"https://bugs.webkit.org/show_bug.cgi?id=32526">Bug
32526</a>
15 <p>Executing delete command when the selection is on a cell of a table shouldn't remove the entire row.
17 <div contenteditable=
"true">
18 <table border=
"1" cellspacing=
"0"><tr><td width=
"50" height=
"25pt" id=
"test1start"></td></tr><tr><td width=
"50" height=
"25pt"></td></tr></table>
22 if (window
.testRunner
)
23 testRunner
.dumpAsText();
28 <p>Executing delete command when the selection is on the last cell of a table shouldn't remove the entire table.
30 <div contenteditable=
"true">
31 <table border=
"1" cellspacing=
"0"><tr><td width=
"50" height=
"25pt"></td></tr><tr><td width=
"50" height=
"25pt" id=
"test2start"></td></tr></table>
34 <script>runTest(2);</script>