blob: 821781324a44ba482c28d71c7ffce3bad56461a6 [file] [log] [blame]
<p>This tests for a bug that would cause paragraphs before and after indented content to collapse onto the same line as indented content after an outdent operation. 'foo', 'bar' and 'baz' should all appear on separate paragraphs.</p>
<div id="div" contenteditable="true">foo<blockquote id="blockquote" class="webkit-indent-blockquote">bar</blockquote>baz</div>
<script>
if (window.testRunner)
window.testRunner.dumpAsText();
var blockquote = document.getElementById("blockquote");
var sel = window.getSelection();
sel.setPosition(blockquote, 0);
document.execCommand("Outdent");
</script>