Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / pasteboard / copy-element-with-conflicting-background-color-from-rule.html
index bcb5659..de04130 100644 (file)
@@ -25,7 +25,7 @@ function finish() {
 
 document.body.focus();
 var target = document.getElementById('target');
-getSelection().setPosition(target, 0);
+getSelection().collapse(target, 0);
 getSelection().modify('move', 'forward', 'line');
 getSelection().modify('move', 'backward', 'lineboundary');
 getSelection().modify('extend', 'backward', 'line');