Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / execCommand / 4580583-2.html
index 3fbbba5..ca35fe5 100644 (file)
@@ -25,7 +25,7 @@
     li = document.getElementById("two");
     text = li.firstChild;
     selection = window.getSelection();
-    selection.setPosition(text, 3);
+    selection.collapse(text, 3);
     document.execCommand("InsertNewlineInQuotedContent");
     </script>
 </body>