Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / smart-paste-006.html
1 <!DOCTYPE html>
2 <html> 
3 <head>
4 <style>
5 .editing { 
6     border: 2px solid red; 
7     font-size: 24px; 
8 }
9 .explanation { 
10     border: 2px solid blue; 
11     padding: 12px; 
12     font-size: 24px; 
13     margin-bottom: 24px;
14 }
15 .scenario { margin-bottom: 16px;}
16 .scenario:first-line { font-weight: bold; margin-bottom: 16px;}
17 .expected-results:first-line { font-weight: bold }
18 </style>
19 </head> 
20 <body>
21
22 <div class="explanation">
23 <div class="scenario">
24 Tests: 
25 <br>
26 Smart paste when pasting between smart paste exempt characters.
27 </div>
28 <div class="expected-results">
29 Expected Results:
30 <br>
31 No spaces should be added before or after the pasted word. It should look like this:
32 <BR>
33 -test-
34 </div>
35 </div>
36
37 <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
38 <div id="test" class="editing">
39 test
40 </div>
41 </div>
42 <script src="../editing.js"></script>
43 <script>
44
45 function editingTest() {
46     extendSelectionForwardByWordCommand();
47     cutCommand();
48     typeCharacterCommand('-');
49     typeCharacterCommand('-');
50     moveSelectionBackwardByCharacterCommand();
51     pasteCommand();
52 }
53
54 runDumpAsTextEditingTest(true);
55 </script>
56 </body>
57 </html>