1 <p>This tests for a deletion bug. The paragraph inside the table should be in a list, and the test shouldn't hang.
</p>
2 <div id=
"div" contenteditable=
"true"><div><table id=
"table" border=
"1"><tr><td id=
"td">foo
</td></tr></table></div>
10 testRunner
.dumpAsText();
12 function log(message
) {
13 var console
= document
.getElementById("console");
14 var text
= document
.createTextNode(message
);
15 console
.appendChild(text
);
18 td
= document
.getElementById("td");
19 br
= document
.getElementById("br");
20 s
= window
.getSelection();
21 s
.setBaseAndExtent(td
, 0, br
, 0);
22 document
.execCommand("InsertUnorderedList");
24 log(document
.getElementById('div').innerHTML
);