Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / pasteboard / bad-placeholder.html
index 77e4cf2..4185bcc 100644 (file)
@@ -12,7 +12,7 @@ if (window.internals)
 var s = window.getSelection();
 var e = document.getElementById("test");
 
-s.setPosition(e, 0);
+s.collapse(e, 0);
 s.modify("move", "forward", "word");
 document.execCommand("InsertHTML", false, " paragraph.");
 </script>