Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / paste-double-nested-blockquote-before-blockquote.html
blobb093e4555f2f3277607db26183fe196b03f7cb0e
1 <html>
2 <head>
3 <style>
4 blockquote {
5 color: blue;
6 border-left: 2px solid blue;
7 margin: 0px;
8 padding: 0 0 0 20px;
10 </style>
12 <script src="resources/paste-blockquote-before-blockquote.js"></script>
13 <script>
14 function test() {
15 if (window.testRunner)
16 testRunner.dumpAsText();
18 copyAndPasteNode("doubleNestedNodeToCopy");
20 </script>
22 </head>
23 <body onload="test()">
24 <p>This tests pasting a doubly nested blockquote before, and outside of, another blockquote. This test does not work outside of DRT.</p>
25 <div id="pasteDiv" contenteditable="true"></div>
26 <div>
27 <blockquote type='cite'>
28 <div>line 1</div>
29 <div id="singleNestedNodeToCopy">line 2</div>
30 <div>line 3</div>
31 <blockquote type='cite'>
32 <div id="doubleNestedNodeToCopy">line 4</div>
33 <div>line 5</div>
34 </blockquote>
35 <div>line 6</div>
36 </blockquote>
37 <br>
38 </div>
40 </body>
41 </html>