blob: 50838819bd474f940b9bdf51402914dccd3c1c70 [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() {
extendSelectionForwardByCharacterCommand();
copyCommand();
moveSelectionForwardByCharacterCommand();
pasteCommand();
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>