blob: 4185a49b711f3d40f1af814fe7119bed6a24f4d2 [file] [log] [blame]
<html>
<head>
<style>
.editing {
font-size: 24px;
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script>
function editingTest() {
for (i = 0; i < 11; i++) {
moveSelectionForwardByCharacterCommand();
}
for (i = 0; i < 11; i++) {
moveSelectionBackwardByCharacterCommand();
}
}
commandDelay = 100;
</script>
<title>Editing Test</title>
</head>
<body>
<div contenteditable id="root" class="editing">
<span id="test">foo bar baz</span>
</div>
<script>
runEditingTest();
</script>
</body>
</html>