1 <p>This tests for a bug when creating a list from a table. The table should be inside a list item.</p>
2 <div contenteditable="true" id="div"><table border="1"><tr><td>foo</td></tr></table></div>
6 if (window.layoutTestController)
7 layoutTestController.dumpAsText();
9 function log(message) {
10 var console = document.getElementById("console");
11 var text = document.createTextNode(message);
12 console.appendChild(text);
15 var div = document.getElementById("div");
18 document.execCommand("SelectAll");
19 document.execCommand("InsertUnorderedList");