Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / paste-blockquote-before-blockquote.html
blob5c0fcc85e357734f544c46580ce38d69ff8224c8
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("singleNestedNodeToCopy");
20 </script>
22 </head>
23 <body onload="test()">
24 <p>This tests pasting a singly 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 </blockquote>
34 <div>line 5</div>
35 </blockquote>
36 <br>
37 </div>
39 </body>
40 </html>