Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / paste-text-016.html
1 <html> 
2 <head>
3
4 <style>
5 .editing { 
6     border: 2px solid red; 
7     padding: 12px; 
8     font-size: 24px; 
9 }
10 p {
11     margin: 0;
12 }
13 </style>
14 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
15
16 <script>
17
18 function editingTest() {
19     for (i = 0; i < 5; i++)
20         moveSelectionForwardByLineCommand();
21     extendSelectionForwardByLineCommand();
22     cutCommand();
23     for (i = 0; i < 5; i++)
24         moveSelectionBackwardByLineCommand();
25     moveSelectionForwardByLineCommand();
26     pasteCommand();
27 }
28
29 </script>
30
31 <title>Editing Test</title> 
32 </head> 
33 <body contenteditable style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
34
35 Fixes this bug:
36 <a href="rdar://problem/3941203">&lt;rdar://problem/3927554&gt;</a> REGRESSION (Mail): Paste inserts content in wrong place
37
38 <br>***TEST*** line should be second, following the first line.
39
40 <div style="height: 12px"></div>
41
42 <div id="root">
43 <div id="test" class="editing"><p>Should be first line of document.<br><br>Another line.</p><p></p>&nbsp;<p></p>&nbsp;<p>***TEST***</p><p><br></p></div>
44 </div>
45  
46 <script>
47 runEditingTest();
48 </script>
49
50 </body>
51 </html>