Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / deleting / 4922367.html
index 2723f14..3792d7a 100644 (file)
@@ -26,7 +26,7 @@ var table = document.getElementById("table");
 var parent = table.parentNode;
 if (parent.childNodes[3] != table)
     log("Error: the table is not at index 3 of its parent.");
-sel.setPosition(parent, 3);
+sel.collapse(parent, 3);
 sel.modify("extend", "backward", "paragraph");
 document.execCommand("Delete");
 </script>