Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / text / delete-hard-break-character.html
index 68d834b..1c75433 100644 (file)
@@ -13,7 +13,7 @@
     <script>
         var div = document.getElementById("you");
         var selection = window.getSelection();
-        selection.setPosition(div, 2);
+        selection.collapse(div, 2);
         document.execCommand("Delete");
     </script>
 </body>