Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / deleting / delete-before-block-image-2.html
index e017968..4f4a682 100644 (file)
@@ -5,7 +5,7 @@ function runTest() {
         window.testRunner.dumpAsText();
     img = document.getElementById("img");
     s = window.getSelection();
-    s.setPosition(img, 0);
+    s.collapse(img, 0);
     document.execCommand("Delete");
     if (window.testRunner)
         document.body.innerText = document.getElementById("div").innerHTML + "\n\nSelection: [" + s.anchorNode + ", " + s.anchorOffset + "]";