blob: 8517cca816219ef6b83960d076eb9d1bfec59e84 [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.dumpEditingCallbacks();
</script>
<p>This tests deleting the line break before a paragraph that ends with unrendered space.</p>
<div id="test" contenteditable="true">foo<br>bar
<div>baz</div></div>
<script type="text/javascript" src="../editing.js"></script>
<script>
var s = window.getSelection();
var e = document.getElementById("test");
s.setPosition(e, 0);
moveSelectionForwardByLineCommand();
deleteCommand();
</script>