Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / inserting / redo.html
index c0a95c9..2b0c6f1 100644 (file)
@@ -5,7 +5,7 @@ if (window.testRunner)
 <div id="test" contenteditable="true"></div>
 
 <script>
-window.getSelection().setPosition(document.getElementById("test"), 0);
+window.getSelection().collapse(document.getElementById("test"), 0);
 document.execCommand("InsertText", false, "The caret should be at the end of this sentence.");
 document.execCommand("Undo");
 document.execCommand("Redo");