X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FLayoutTests%2Fediting%2FexecCommand%2Ffind-after-replace.html;h=461827c840d274d4c41f50b619331341779cac9d;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=9eaba514a7b285ce19a18609653cd17276bdec9b;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/LayoutTests/editing/execCommand/find-after-replace.html b/src/third_party/WebKit/LayoutTests/editing/execCommand/find-after-replace.html index 9eaba514..461827c 100644 --- a/src/third_party/WebKit/LayoutTests/editing/execCommand/find-after-replace.html +++ b/src/third_party/WebKit/LayoutTests/editing/execCommand/find-after-replace.html @@ -14,9 +14,9 @@ function runTest() { var sel = frame.getSelection(); var doc = frame.document; - sel.setPosition(doc.body, 0); + sel.collapse(doc.body, 0); doc.execCommand("InsertText", false, "A B A"); - sel.setPosition(doc.body, 0); + sel.collapse(doc.body, 0); doc.execCommand("FindString", false, "A B"); doc.execCommand("Copy"); doc.execCommand("FindString", false, "A");