blob: 7329cb1c208b046992c9f1032bfffe6068f68438 [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() {
moveSelectionForwardByCharacterCommand();
extendSelectionForwardByCharacterCommand();
extendSelectionForwardByCharacterCommand();
deleteCommand();
}
</script>
<title>Editing Test</title>
</head>
<body>
<div contenteditable id="root" class="editing">
<span id="test">a<img src="../resources/abe.png"><img src="../resources/abe.png"> lincoln</span>
</div>
<script>
runEditingTest();
</script>
</body>
</html>