Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / pasteboard / 4806874.html
index 07f45a6..5ade59c 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("InsertHTML", false, "<div><input type='text'></div>");