blob: ea8422ee43025a0827138b4d889ae9b82ead23c8 [file] [log] [blame]
<html>
<head>
<style>
.editing {
word-wrap: break-word;
-khtml-nbsp-mode: space;
-khtml-line-break: after-white-space;
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
<script>
function editingTest() {
selectAllCommand();
cutCommand();
pasteCommand();
pasteCommand();
}
</script>
<title>Editing Test</title>
</head>
<body contenteditable id="test" class="editing">
<div>foo<blockquote>bar</blockquote>baz</div>
<!-- Buggy code before fix would insert blockquote after body element in second paste -->
<script>
runEditingTest();
</script>
</body>
</html>