blob: 363ccbe35910dff7a046bb3bca58bb02581f44c6 [file] [log] [blame]
<style>
blockquote {
color: blue;
border-left: 2px solid blue;
padding-left: 5px;
margin: 0px;
}
</style>
<p>This tests for a crash when attempting to break a blockquote at the end of its content. The caret should be in the first of two empty paragraphs between two pieces of quoted content.</p>
<div contenteditable="true">
<blockquote type="cite"><div id="dv">foo</div></blockquote>
<br>
<blockquote type="cite"><div>bar</div></blockquote>
</div>
<script>
dv = document.getElementById("dv");
text = dv.firstChild;
s = window.getSelection();
s.setPosition(text, 3);
document.execCommand("InsertNewlineInQuotedContent");
</script>