Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / selection / move-by-word-visually-wrong-left-right.html
index a2b4ecc..e236de3 100644 (file)
@@ -8,7 +8,7 @@
 onload = function() {
     try {
         var sel = window.getSelection();
-        sel.setPosition(document.getElementById('d_1'), 0); 
+        sel.collapse(document.getElementById('d_1'), 0); 
         sel.modify("move", "right", "word");
         if (sel.anchorOffset == 5)
             log("PASS");