blob: 2e9454833724925e1380f233d4a4616ceedb1967 [file] [log] [blame]
<html>
<head>
<style>
.editing {
border: solid red 50px;
font-size: 24px;
line-height: 48px;
padding: 24px;
margin: 64px;
width: 600px;
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script>
function editingTest() {
for (i = 0; i < 59; i++) {
moveSelectionForwardByCharacterCommand();
}
deleteCommand();
}
</script>
<title>Editing Test</title>
</head>
<body>
<div contenteditable id="root" class="editing">
<span id="test">Fourscore and seven years ago our fathers brought forth on
this continent a new nation...</span>
</div>
<script>
runEditingTest();
</script>
</body>
</html>