Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / execCommand / 5080333-2.html
index d2e1f12..c90049d 100644 (file)
@@ -5,7 +5,7 @@
 var div = document.getElementById("div");
 var sel = window.getSelection();
 
-sel.setPosition(div, 0);
+sel.collapse(div, 0);
 sel.modify("move", "forward", "paragraphBoundary");
 sel.modify("move", "forward", "character");
 sel.modify("extend", "forward", "character");