3 border-left: 2px solid blue;
9 <div id="description">This tests copying/pasting less than a paragraph of quoted content. It should appear quoted.</div>
10 <div id="edit" contenteditable="true">
13 <div>On Tuesday, Dave wrote:</div>
15 <blockquote id="blockquote" type="cite">Hello World</blockquote>
19 if (window.testRunner)
20 window.testRunner.dumpAsText();
21 blockquote = document.getElementById("blockquote");
22 text = blockquote.firstChild;
23 sel = window.getSelection();
24 sel.setBaseAndExtent(text, 0, text, text.length);
25 document.execCommand("Copy");
26 edit = document.getElementById("edit");
27 sel.collapse(edit, 0);
28 document.execCommand("Paste");
29 if (window.testRunner)
30 document.body.innerText = document.getElementById("description").innerText + "\n\n" + document.getElementById("edit").innerHTML;