Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / pasteboard / paste-blockquote-into-blockquote-2.html
index 4529737..a15513a 100644 (file)
@@ -19,7 +19,7 @@ blockquote {
 var sel = window.getSelection();
 var block = document.getElementById("block");
 
-sel.setPosition(block, 3);
+sel.collapse(block, block.childNodes.length);
 document.execCommand("InsertHTML", false, "<span><blockquote type='cite'><blockquote type='cite'><div>Two</div><div>Three</div></blockquote></blockquote></span>");
 Markup.description("This tests pasting a nested blockquote into a blockquote. "
     + "The text \"One\" should be singly-blockquoted, and the text \"Two Three\" should be doubly-blockquoted. "