blob: 0c761170f02ec7cb40149a5a94e41e7e00275390 [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() {
extendSelectionForwardByLineCommand();
moveSelectionForwardByLineCommand();
}
</script>
<title>Editing Test</title>
</head>
<body contenteditable id="root" class="editing">
<div id="test">There is a tide<br>in the affairs of men</div><div>Which taken at the flood</div>
<script>
runEditingTest();
</script>
</body>
</html>