<!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: meter" 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>
