Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / inserting / insert-bg-font.html
index 9fc9933..1984aba 100644 (file)
@@ -6,7 +6,7 @@
                 if (window.testRunner)
                     testRunner.dumpAsText();
 
-                window.getSelection().setPosition(document.getElementById('dv'), 1);
+                window.getSelection().collapse(document.getElementById('dv'), 1);
                 document.execCommand("InsertParagraph");
                 document.execCommand("InsertText", false, "this should also be blue over lightgrey");