blob: 0698272ee39ce13d2acae0335d8f82fd23b0cbab [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() {
moveSelectionForwardByLineCommand();
moveSelectionForwardByWordCommand();
moveSelectionBackwardBySentenceCommand();
extendSelectionForwardBySentenceCommand();
}
</script>
<title>Editing Test</title>
</head>
<body>
<div contenteditable id="root" class="editing">
<frijole style="display:block;" id="test">one two three<frijole>
<doodad style="display:block;">four five six</doodad>
<script>
runEditingTest();
</script>
</body>
</html>