blob: 0f2c5d430343d1005aec7466315f4f01b3252d53 [file] [log] [blame]
<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>
<div id="edit" contentEditable="true"><hr></div>
<script>
if (window.testRunner)
window.testRunner.dumpAsText();
edit = document.getElementById("edit");
edit.focus();
document.execCommand("SelectAll");
document.execCommand("RemoveFormat");
if (window.testRunner)
document.body.innerText = document.getElementById("description").innerText + "\n" + edit.innerHTML;
</script>