blob: 3a16fd9fbb9f0e31999bb694036155eea06e3119 [file] [log] [blame]
<html>
<head>
<style>
body {
font-size: 24px;
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script>
function editingTest() {
for (i = 0; i < 16; i++)
moveSelectionForwardByCharacterCommand();
deleteCommand();
}
</script>
<title>Editing Test</title>
</head>
<body contenteditable id="root">
<div id="test">There is a tide</div><br>in the affairs of men
<!-- Delete only the <br> after the block -->
<script>
runEditingTest();
</script>
</body>
</html>