1 <div id="description">This tests for an ASSERT during a RemoveFormat call when it's called on a selection containing only a horizontal rule. It should not ASSERT.</div>
2 <div id="edit" contentEditable="true"><hr></div>
5 if (window.layoutTestController)
6 window.layoutTestController.dumpAsText();
7 edit = document.getElementById("edit");
9 document.execCommand("SelectAll");
10 document.execCommand("RemoveFormat");
11 if (window.layoutTestController)
12 document.body.innerText = document.getElementById("description").innerText + "\n" + edit.innerHTML;