blob: 446cbcb7edfef5f6dfe38ade2e1f3a0b64c843b7 [file] [log] [blame]
<html>
<head>
<style>
.editing {
border: 2px solid red;
padding: 12px;
font-size: 24px;
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script>
function editingTest() {
for (i = 0; i < 28; i++) {
moveSelectionForwardByCharacterCommand();
}
for (i = 0; i < 28; i++) {
deleteCommand();
}
}
</script>
<title>Editing Test</title>
</head>
<body>
<div contenteditable id="root" class="editing">
<span id="test">foo
<br>foo <i> </i> <img src="../abe.gif""> select-in-me-and-start-deleting</span>
</div>
<script>
runEditingTest();
</script>
</body>
</html>