7 border-left:
2px solid blue;
14 <div id=
"pasteDiv" contenteditable=
"true"></div>
15 <div id=
"copyDiv"><blockquote type='cite'
><div>line
1</div><div>line
2</div></blockquote></div>
18 <script src=
"../../resources/dump-as-markup.js"></script>
20 var range
= document
.createRange();
21 var nodeToCopy
= document
.getElementById("copyDiv");
22 range
.setStartBefore(nodeToCopy
);
23 range
.setEndAfter(nodeToCopy
);
24 var selection
= window
.getSelection();
25 selection
.addRange(range
);
26 document
.execCommand("Copy");
28 var pasteNode
= document
.getElementById("pasteDiv");
29 selection
.collapse(pasteNode
, 0);
30 document
.execCommand("Paste");
31 Markup
.description("This test ensures the copied the newline is NOT inside the blockquote -- a '<div><div><br></div></div>' should be appended as the next sibling of the blockquote. \n");
32 Markup
.dump('pasteDiv');