2b0c6f16697f73eae0200b1a08c9389c02dc467c
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / inserting / redo.html
1 <script>
2 if (window.testRunner)
3      testRunner.dumpEditingCallbacks();
4 </script>
5 <div id="test" contenteditable="true"></div>
6
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>