Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / inserting / 5510537.html
index 9e406f2..103708a 100644 (file)
             function test()
             {
                 var s = window.getSelection();
-                s.setPosition(document.getElementById('qt'), 0);
+                s.collapse(document.getElementById('qt'), 0);
                 document.execCommand("InsertNewlineInQuotedContent");
                 document.execCommand("InsertText", true, "unquoted");
-                s.setPosition(document.getElementById('qt2'), 0);
+                s.collapse(document.getElementById('qt2'), 0);
                 document.execCommand("InsertNewlineInQuotedContent");
                 document.execCommand("InsertText", true, "unquoted");
             }