| <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.layoutTestController) |
| window.layoutTestController.dumpAsText(); |
| |
| var blockquote = document.getElementById("blockquote"); |
| var sel = window.getSelection(); |
| |
| sel.setPosition(blockquote, 0); |
| document.execCommand("Outdent"); |
| </script> |