<!DOCTYPE html>
<html contenteditable>
<body>
    <div></div>
    <abbr>
        <label>
            <textarea></textarea>
        </label>
        <embed></embed>
    </abbr>
</body>
<script>
    if (window.testRunner)
        testRunner.dumpAsText();

    document.execCommand("selectall", false, null);
    document.execCommand("insertorderedlist", false, null);
    document.write("<p>Test for crash in WebCore::LogicalSelectionOffsetCaches::ContainingBlockInfo::setBlock()</p>");
    document.write("<p>This test passes if it doesn't crash.</p>");
</script>
</html>
