Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / execCommand / 5575101-2.html
index 1a6f4bb..b8c7e29 100644 (file)
@@ -10,7 +10,7 @@
 if (window.testRunner)
     window.testRunner.dumpAsText();
 outdent = document.getElementById("outdent");
-window.getSelection().setPosition(outdent, 0);
+window.getSelection().collapse(outdent, 0);
 document.execCommand("Outdent");
 document.execCommand("Outdent");
 </script>