Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / 4076267-3.html
1 <html> 
2 <head>
3
4 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
5
6 <script>
7
8 function editingTest() {
9     for(i = 1; i <= 10; i++) {
10         typeCharacterCommand('x');
11         for(j = 1; j <= i; j++)
12             typeCharacterCommand(' ');
13         typeCharacterCommand('x');
14         for(k = 1; k <= i; k++)
15             extendSelectionBackwardByCharacterCommand();
16         extendSelectionBackwardByCharacterCommand();
17         extendSelectionBackwardByCharacterCommand();
18         copyCommand();
19         deleteCommand();
20         pasteAndMatchStyleCommand();
21         typeCharacterCommand('\n');
22     }
23 }
24
25 </script>
26
27 <title>Pasting plain text with varying amounts of whitespace</title> 
28 </head> 
29 <body>
30
31 <p>This tests to see if spaces are lost during a copy/paste</p>
32
33 <hr>
34
35 <div id="test" contenteditable="true"><br></div>
36
37 <script>
38 runEditingTest();
39 </script>
40
41 </body>
42 </html>