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