Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / deleting / smart-editing-disabled-mac.html
index 9187eb2..4834583 100644 (file)
@@ -14,7 +14,7 @@ function editingTest() {
     var div = document.getElementById("div");
     var sel = window.getSelection();
     
-    sel.setPosition(div, 0);
+    sel.collapse(div, 0);
     sel.modify("move", "forward", "word");
     sel.modify("move", "forward", "word");
     sel.modify("extend", "backward", "word");