Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / deleting / 25322-1.html
index 2af30b2..7544681 100644 (file)
@@ -10,7 +10,7 @@
         
         function afterDelay() {
             forCaret = document.getElementById("forCaret");
-            window.getSelection().setPosition(forCaret, 0);
+            window.getSelection().collapse(forCaret, 0);
             document.execCommand("Delete");            
             if (window.testRunner) {
                 document.body.innerText = document.getElementById("description").innerText + "\n\n" + document.getElementById("edit").innerHTML;