Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / style / table-selection.html
index a195821..6780796 100644 (file)
@@ -14,7 +14,7 @@
 
 function editingTest() {
     var selection = window.getSelection();
-    selection.setPosition(document.getElementById("selStart"), 0);
+    selection.collapse(document.getElementById("selStart"), 0);
     extendSelectionForwardByLineCommand();
     extendSelectionForwardByLineCommand();
     justifyCenterCommand();