Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / undo / undo-deleteWord.html
index aa221fb..824f449 100644 (file)
@@ -87,7 +87,7 @@ if (window.testRunner) {
 }
 
 var selection = window.getSelection();
-selection.setPosition(document.getElementById("test"), 0);
+selection.collapse(document.getElementById("test"), 0);
 editingTest();
 </script>