Editing tests should use testRunner instead of layoutTestController
[WebKit-https.git] / LayoutTests / editing / pasteboard / paste-double-nested-blockquote-before-blockquote.html
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;
9         }
10     </style>
11
12     <script src="resources/paste-blockquote-before-blockquote.js"></script>
13     <script>
14         function test() {
15             if (window.testRunner)
16                 testRunner.dumpAsText();
17
18             copyAndPasteNode("doubleNestedNodeToCopy");
19         }
20     </script>
21
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>
39         
40 </body>
41 </html>
42