Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / undo / undo-misspellings.html
blob2423e9a414c141a04d8c76c106c3c0dd26dd322f
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <div id="test" contenteditable="true"></div>
7 <script>
8 var s = window.getSelection();
9 s.collapse(document.getElementById("test"), 0);
11 document.execCommand("InsertText", false, "sugare");
12 document.execCommand("InsertText", false, " ");
13 document.execCommand("InsertText", false, "sugari");
14 document.execCommand("InsertText", false, " ");
15 document.execCommand("InsertText", false, "sugarm");
16 document.execCommand("InsertText", false, " ");
17 document.execCommand("Undo");
18 </script>