Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / style / apply-through-end-of-document.html
index c88b241..055de63 100644 (file)
@@ -13,7 +13,7 @@
             var source = document.getElementById("source");
             var selection = getSelection();
 
-            selection.setPosition(source.firstChild, 5);
+            selection.collapse(source.firstChild, 5);
             selection.modify("extend", "forward", "word");
 
             document.execCommand("Copy");