blob: 3f22ead5bbbd6def3aad4164967cf7400a855f42 [file] [log] [blame]
<!DOCTYPE html>
<body>
<div id="description">This test assures that inserting a newline in a list nested in a blockquote doesn't crash.</div>
<div contenteditable="true" id="container">
<blockquote type="cite">
<ol><li style=" -webkit-appearance: relevancy-level-indicator" id="two">TwoTwo</li></ol>
</blockquote>
</div>
<script>
li = document.getElementById("two");
text = li.firstChild;
selection = window.getSelection();
selection.setPosition(text, 3);
document.execCommand("InsertNewlineInQuotedContent");
var div = document.getElementById("container");
div.parentNode.removeChild(div);
if (window.layoutTestController)
layoutTestController.dumpAsText();
</script>
</body>