Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / selection / move-by-line-006.html
index 05c1ad4..726ca1d 100644 (file)
@@ -17,7 +17,7 @@ document.designMode = 'on';
 
 var selection = window.getSelection();
 var result = document.getElementById('result');
-selection.setPosition(result, 0);
+selection.collapse(result, 0);
 selection.modify('move', 'forward', 'line');
 
 Markup.dump('result');