blob: 2bffb30116a93f5292eb1c0ad9a8338e3e07b41b [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. Bug: It should also not remove the horizontal rule.</div>
<div id="edit" contentEditable="true"><hr></div>
<script>
if (window.layoutTestController)
window.layoutTestController.dumpAsText();
edit = document.getElementById("edit");
edit.focus();
document.execCommand("SelectAll");
document.execCommand("RemoveFormat");
if (window.layoutTestController)
document.body.innerText = document.getElementById("description").innerText + "\n" + edit.innerHTML;
</script>