blob: 9e43e1df766948546be7afe324ce4f779fa240e3 [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();
moveSelectionForwardByCharacterCommand();
for (i = 0; i < 157; i++) {
extendSelectionForwardByCharacterCommand();
}
}
</script>
<title>Editing Test</title>
</head>
<body>
<div contenteditable id="root" class="editing">
<span id="test"><i>F and seven</i> years <b> as </b>our fathers f upon this
continent, a new nation, conceived &nbsp;&nbsp; in Liberty, and dedicated to the
proposition that all
<br>men are created equal.</span>
</div>
<script>
runEditingTest();
</script>
</body>
</html>