Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / inserting / 4960120-2.html
index c2a3db1..ab79219 100644 (file)
@@ -7,7 +7,7 @@ if (window.internals)
 var div = document.getElementById("div");
 var sel = window.getSelection();
 
-sel.setPosition(div, 0);
+sel.collapse(div, 0);
 sel.modify("move", "forward", "word");
 
 document.execCommand("InsertLineBreak");