blob: 6584b24a4b69c62e9ce356970b7fd395421579be [file] [log] [blame]
<html>
<head>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<style>
.editing {
border: 2px solid red;
padding: 12px;
font-size: 24px;
}
</style>
<script>
function editingTest() {
for (var i = 0; i < 8; i++)
moveSelectionForwardByCharacterCommand();
for (var i = 0; i < 4; i++)
deleteCommand();
}
</script>
<title>Editing Test</title>
</head>
<body contenteditable='true'>
<div id="root" class="editing">
<span id="test">Foo<BR><BLOCKQUOTE>Bar</BLOCKQUOTE></span>
</div>
<script>
runEditingTest();
</script>
</body>
</html>