Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / selection / 4932260-2.html
index e92a0f7..e4cca6c 100644 (file)
@@ -8,7 +8,7 @@ if (window.internals)
     internals.settings.setEditingBehavior('mac');
 var sel = window.getSelection();
 var div = document.getElementById("div");
-sel.setPosition(div, 0);
+sel.collapse(div, 0);
 sel.modify("move", "forward", "word");
 sel.modify("move", "forward", "word");
 </script>