blob: 813dc6d97bff9ba3ea9a5a1fcfdc794f380a1209 [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 < 4; i++)
moveSelectionForwardByCharacterCommand();
deleteCommand();
}
</script>
<title>Editing Test</title>
</head>
<body contenteditable id="root">
<div class="editing" id="test">One</div><br><div class="editing">Two</div>
<script>
runEditingTest();
</script>
</body>
</html>