Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / pasteboard / 4989774.html
index 4cea2ff..1062ec7 100644 (file)
@@ -4,7 +4,7 @@
 function partTwo() {
     sel.setBaseAndExtent(body, 0, body, body.childNodes.length);
     document.execCommand("Copy");
-    sel.setPosition(body, body.childNodes.length);
+    sel.collapse(body, body.childNodes.length);
     document.execCommand("Paste");
     document.execCommand("Paste");
     document.execCommand("InsertLineBreak");