Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / inserting / 5549929-2.html
index 2723201..aa98ad0 100644 (file)
@@ -8,7 +8,7 @@
 div = document.getElementById("div");
 div.focus();
 sel = window.getSelection();
-sel.setPosition(div, 0);
+sel.collapse(div, 0);
 sel.modify("extend", "forward", "paragraph");
 document.execCommand("InsertLineBreak");
 </script>