blob: 250b72e83b3c89c31a6c12f7a3fcf6ee643ea0f2 [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.testRunner)
testRunner.dumpAsText();
</script>
</body>