Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / execCommand / remove-formatting.html
index bbcea0a..2b4517b 100644 (file)
@@ -23,7 +23,7 @@ var s = window.getSelection();
 
 if (document.queryCommandEnabled("RemoveFormat"))
     log("Failure: RemoveFormat enabled with no selection.");
-s.setPosition(e, 0);
+s.collapse(e, 0);
 if (document.queryCommandEnabled("RemoveFormat"))
     log("Failure: RemoveFormat enabled with a caret selection.");
 document.execCommand("SelectAll");