blob: 3ef0532a29e87825ddc04a1c94e31e1ab5a04d5f [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() {
underlineCommand();
for (i = 0; i < 6; i++)
typeCharacterCommand();
typeCharacterCommand(' ');
for (i = 0; i < 6; i++)
typeCharacterCommand();
typeCharacterCommand(' ');
for (i = 0; i < 6; i++)
typeCharacterCommand();
}
</script>
<title>Editing Test</title>
</head>
<body>
<div contenteditable id="root" class="editing">
<span id="test"></span>
</div>
<script>
runEditingTest();
</script>
</body>
</html>