Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / selection / move-by-line-005.html
index 5a2f942..02d88e7 100644 (file)
@@ -12,7 +12,7 @@
     var target = document.getElementById("target");
     var selection = getSelection();
 
-    selection.setPosition(target.firstChild, 13);
+    selection.collapse(target.firstChild, 13);
     selection.modify("move", "backward", "line");
 
     var pass = (selection.anchorNode === target.firstChild && selection.anchorOffset === 0);