Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / redo.html
blob2b0c6f16697f73eae0200b1a08c9389c02dc467c
1 <script>
2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks();
4 </script>
5 <div id="test" contenteditable="true"></div>
7 <script>
8 window.getSelection().collapse(document.getElementById("test"), 0);
9 document.execCommand("InsertText", false, "The caret should be at the end of this sentence.");
10 document.execCommand("Undo");
11 document.execCommand("Redo");
12 </script>