2 if (window.layoutTestController) {
3 layoutTestController.dumpEditingCallbacks();
4 layoutTestController.dumpAsText();
7 <p>This tests de-listing content.</p>
8 <div id="div" contenteditable="true"><ol><li></li><li>There should be a single BR above this line and no OL or LI.</li></ol></div>
13 function log(message) {
14 var console = document.getElementById("console");
15 var text = document.createTextNode(message);
16 console.appendChild(text);
19 var div = document.getElementById("div");
20 var sel = window.getSelection();
23 document.execCommand("SelectAll");
24 document.execCommand("InsertOrderedList");