blob: f909e15634e31bf813976764c1ff1e569bf0ee2a [file] [log] [blame]
<script>
if (window.layoutTestController)
layoutTestController.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>