blob: e4346be6a086160594e81a6fce1f34b0a073ed1a [file] [log] [blame]
<html>
<head>
<style>
.editing {
border: 2px solid red;
padding: 12px;
font-size: 24px;
}
.cell {
padding: 12px;
font-size: 24px;
height: 48px;
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script>
function editingTest() {
for (i = 0; i < 2; i++)
moveSelectionForwardByLineCommand();
}
</script>
<title>Editing Test</title>
</head>
<body>
<div contenteditable id="root" class="editing">
<div id="test">
<ol><li>one</li><li>two</li><li><br></li><li>four</li><li>five</li></ol>
</div>
<script>
runEditingTest();
</script>
</body>
</html>