X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FLayoutTests%2Fediting%2FexecCommand%2F19653-2.html;h=145767d00d69d3fbc2cc9ab5fa4f5915a9cf2acb;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=7ad809ee042f546e241cf42c390c374aa8b3d25d;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/LayoutTests/editing/execCommand/19653-2.html b/src/third_party/WebKit/LayoutTests/editing/execCommand/19653-2.html index 7ad809e..145767d 100644 --- a/src/third_party/WebKit/LayoutTests/editing/execCommand/19653-2.html +++ b/src/third_party/WebKit/LayoutTests/editing/execCommand/19653-2.html @@ -10,7 +10,7 @@ if (window.testRunner) edit1 = document.getElementById("edit1"); edit1.focus(); text = edit1.firstChild; -window.getSelection().setPosition(text, 1); +window.getSelection().collapse(text, 1); document.execCommand("Bold"); document.execCommand("InsertParagraph"); document.execCommand("InsertText", false, "Bold"); @@ -18,7 +18,7 @@ document.execCommand("InsertText", false, "Bold"); edit2 = document.getElementById("edit2"); edit2.focus(); text = edit2.firstChild; -window.getSelection().setPosition(text, 1); +window.getSelection().collapse(text, 1); document.execCommand("Bold"); document.execCommand("InsertLineBreak"); document.execCommand("InsertText", false, "Bold");