X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FLayoutTests%2Fediting%2FexecCommand%2Fformat-block.html;h=7bcbcdadbf380ff809266d8bd5f426062d61f0ca;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=99b10a3d3bdc031955db700cd74bd85650d3b22a;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/LayoutTests/editing/execCommand/format-block.html b/src/third_party/WebKit/LayoutTests/editing/execCommand/format-block.html index 99b10a3..7bcbcda 100644 --- a/src/third_party/WebKit/LayoutTests/editing/execCommand/format-block.html +++ b/src/third_party/WebKit/LayoutTests/editing/execCommand/format-block.html @@ -21,11 +21,11 @@ var r = document.createRange(); var p1 = document.getElementById("item1"); var p2 = document.getElementById("item2"); var p3 = document.getElementById("item3"); -s.setPosition(p1, 0); +s.collapse(p1, 0); document.execCommand("FormatBlock", false, "pre"); -s.setPosition(p2, 0); +s.collapse(p2, 0); document.execCommand("FormatBlock", false, "h1"); -s.setPosition(p3, 0); +s.collapse(p3, 0); document.execCommand("FormatBlock", false, "address"); Markup.dump("test", "After FormatBlock");