Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / undo / 4059423-1.html
index 18b2290..976b55d 100644 (file)
@@ -4,7 +4,7 @@
 if (window.testRunner)
     window.testRunner.dumpAsText();
 edit = document.getElementById("edit");
-window.getSelection().setPosition(edit, 0);
+window.getSelection().collapse(edit, 0);
 document.execCommand("SelectAll");
 document.execCommand("InsertUnorderedList");
 document.execCommand("Undo");