chromium/third_party/blink/manual_tests/autocorrection/document-for-iframe-test.html

<html>
<head>
<style>
.editing {
    border: 2px solid red;
    padding: 12px;
    font-size: 24px;
}
</style>

<script src=../../../../LayoutTests/editing/editing.js language="JavaScript" type="text/JavaScript" ></script>

<script>
function editingTest() {
    typeCharacterCommand('t');
    typeCharacterCommand('h');
    typeCharacterCommand('e');
    typeCharacterCommand(' ');
    typeCharacterCommand('m');
    typeCharacterCommand('a');
    typeCharacterCommand('n');
    typeCharacterCommand('a');
    typeCharacterCommand('g');
}
</script>

<div contenteditable id="root" class="editing">
<span id="test"></span>
</div>

<script>
runEditingTest();
</script>

</body>
</html>