<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> |