Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / execCommand / outdent-break-with-style.html
index b59cddd..7d4bee5 100644 (file)
@@ -10,7 +10,7 @@ if (window.testRunner)
 while (script = document.querySelector('script'))
     script.parentNode.removeChild(script);
 
-getSelection().setPosition(document.body, 0);
+getSelection().collapse(document.body, 0);
 document.execCommand("InsertImage",false);
 document.execCommand("Indent");
 document.execCommand("Bold");