<html>
<head>

<style>
.editing {
    padding: 12px;
    font-size: 24px;
}
</style>
<script src=../../editing.js language="JavaScript" type="text/JavaScript" ></script>

<script>

function editingTest() {
    var string = "this wasn't \nthis wouldn't \nthis doesn't";
    for (let i = 0; i < string.length; i++)
        typeCharacterCommand(string.charAt(i));
    document.getElementById("root").blur();
}

</script>

<title>Autocorrection Contraction Test</title>
</head> 
<body>
<p>This test verifies that a valid word in contraction form has neither spelling error nor autocorrection underlines.</p>
<div contenteditable id="root" class="editing"><span id="test"></span></div>

<script>
runEditingTest();
</script>

</body>
</html>
