Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / execCommand / remove-formatting-2.html
index 0f32ab8..e850369 100644 (file)
@@ -14,7 +14,7 @@ if (window.internals)
 var sel = window.getSelection();
 var div = document.getElementById("div");
 
-sel.setPosition(div, 0);
+sel.collapse(div, 0);
 
 sel.modify("extend", "forward", "word");
 document.execCommand("RemoveFormat");