blob: b3892481f959f5d3e46621544e31848591fdc692 [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() {
for (i = 0; i < 4; i++)
moveSelectionForwardByCharacterCommand();
insertLineBreakCommand();
typeCharacterCommand();
}
</script>
<title>Editing Test</title>
</head>
<body style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">
<div contenteditable id="root" class="editing">
<span id="test">a<span class="Apple-tab-span" style="white-space:pre"> </span>z</span>
</div>
<script>
runEditingTest();
</script>
</body>
</html>