3 border-left: 2px solid blue;
9 <p>This tests copying/pasting less than a paragraph of quoted content. It should not appear quoted.</p>
10 <div id="div" contenteditable="true">
13 <blockquote type="cite">On Tuesday, Dave wrote:</blockquote>
14 <blockquote type="cite"><br></blockquote>
15 <blockquote type="cite">Hello World.</blockquote>
19 var sel = window.getSelection();
20 var div = document.getElementById("div");
21 sel.setPosition(div, 0);
22 sel.modify("move", "forward", "paragraph");
23 sel.modify("move", "forward", "paragraph");
24 sel.modify("extend", "forward", "word");
25 document.execCommand("Copy");
26 sel.setPosition(div, 0);
27 document.execCommand("PasteAndMatchStyle");