Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / paste-text-002.html
1 <!DOCTYPE html>
2 <html> 
3 <head>
4 <style>
5 .editing { 
6     border: 2px solid red; 
7     padding: 12px; 
8     font-size: 24px; 
9 }
10 </style>
11 </head> 
12 <body>
13 <p>This tests copy and pastes "is a tide in the affairs of men,\nWhich taken" twice.</p>
14 <div id="root" contenteditable>
15 <div id="test" class="editing">There is a tide in the affairs of men,</div>
16 <div class="editing">Which taken at the flood leads on to fortune.</div>
17 <div class="editing">Omitted, all the voyage of their life,</div>
18 <div class="editing">Is bound in shallows and in miseries.</div>
19 </div>
20 <script src="../editing.js"></script>
21 <script>
22
23 function editingTest() {
24     for (i = 0; i < 6; i++)
25         moveSelectionForwardByCharacterCommand();
26     for (i = 0; i < 44; i++)
27         extendSelectionForwardByCharacterCommand();
28     copyCommand();
29     pasteCommand();
30     pasteCommand();
31 }
32
33 runDumpAsTextEditingTest(true);
34 </script>
35 </body>
36 </html>