blob: e98797dc38858bd9eb0cd89f8c928071007f6f70 [file] [log] [blame]
<p>This tests for a crash when the fragment contains only an interchange newline.</p>
<div id="div" contenteditable="true"><br></div>
<script>
if (window.testRunner)
window.testRunner.dumpAsText();
var div = document.getElementById("div");
div.focus();
document.execCommand("InsertHTML", false, "<span class='Apple-style-span' style='border-collapse: separate; color: rgb(0, 0, 0); font-family: Times; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-fill-color: rgb(0, 0, 0); -webkit-text-stroke-color: rgb(0, 0, 0); -webkit-text-stroke-width: 0; '></span>");
</script>