Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / selection / 5825350-2.html
index 44f262e..6f97ea5 100644 (file)
@@ -8,7 +8,7 @@ if (window.testRunner)
 edit = document.getElementById("edit");
 text = edit.childNodes[1];
 s = window.getSelection();
-s.setPosition(text, text.length);
+s.collapse(text, text.length);
 s.modify("move", "right", "character");
 if (window.testRunner) {
     var caretRect = textInputController.firstRectForCharacterRange(textInputController.selectedRange()[0], 0);