| <script src="../../resources/dump-as-markup.js"></script> |
| border-left: 2px solid blue; |
| <p>This tests pasting a blockquote into a blockquote. Nothing below should be double-blockquoted.</p> |
| <blockquote type="cite">one<br>two<br>three<br id="endContent"><br><br></blockquote> |
| var sel = window.getSelection(); |
| var endContent = document.getElementById("endContent"); |
| sel.setPosition(endContent, 1); |
| document.execCommand("InsertHTML", false, "<blockquote type='cite'><div>two</div></blockquote>"); |
| Markup.description(document.getElementsByTagName('p')[0].innerText); |
| Markup.dump(document.getElementsByTagName('div')[1]); |