Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / pasteboard / display-block-on-spans.html
index d8e3b71..28db7dc 100644 (file)
@@ -16,7 +16,7 @@ Markup.description('This is a test case for the fix for http://bugzilla.opendarw
 
 var test = document.getElementById('test');
 test.focus();
-window.getSelection().setPosition(test, 0);
+window.getSelection().collapse(test, 0);
 
 Markup.dump(test, 'before');