| <html> |
| <head> |
| <style> |
| blockquote { |
| color: blue; |
| border-left: 2px solid blue; |
| margin: 0px; |
| padding: 0 0 0 20px; |
| } |
| </style> |
| |
| <script src="resources/paste-blockquote-before-blockquote.js"></script> |
| <script> |
| function test() { |
| if (window.layoutTestController) |
| layoutTestController.dumpAsText(); |
| |
| copyAndPasteNode("doubleNestedNodeToCopy"); |
| } |
| </script> |
| |
| </head> |
| <body onload="test()"> |
| <p>This tests pasting a doubly nested blockquote before, and outside of, another blockquote. This test does not work outside of DRT.</p> |
| <div id="pasteDiv" contenteditable="true"></div> |
| <div> |
| <blockquote type='cite'> |
| <div>line 1</div> |
| <div id="singleNestedNodeToCopy">line 2</div> |
| <div>line 3</div> |
| <blockquote type='cite'> |
| <div id="doubleNestedNodeToCopy">line 4</div> |
| <div>line 5</div> |
| </blockquote> |
| <div>line 6</div> |
| </blockquote> |
| <br> |
| </div> |
| |
| </body> |
| </html> |
| |