Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / input / editable-container-with-word-wrap-normal.html
index b60af9a..41c34e7 100644 (file)
@@ -22,7 +22,7 @@ The test case checks if caret is drawn properly(especially scrolls properly) ins
     if (window.internals)
         startCaretRect = internals.absoluteCaretBounds();
 
-    window.getSelection().setPosition(editableContainer,0);
+    window.getSelection().collapse(editableContainer,0);
     if (window.testRunner)
         testRunner.execCommand('MoveToEndOfLine');