Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / paste-text-with-style.html
1 <!DOCTYPE html>
2 <html> 
3 <head>
4
5 <style>
6 .editing { 
7     border: 2px solid red; 
8     font-size: 24px; 
9 }
10 .explanation { 
11     border: 2px solid blue; 
12     padding: 12px; 
13     font-size: 24px; 
14     margin-bottom: 24px;
15 }
16 .scenario { margin-bottom: 16px;}
17 .scenario:first-line { font-weight: bold; margin-bottom: 16px;}
18 .expected-results:first-line { font-weight: bold }
19 </style>
20 <script src=../editing.js></script>
21 <script src="../../resources/dump-as-markup.js"></script>
22
23 <script>
24 if (window.testRunner)
25      testRunner.dumpAsText();
26
27 function editingTest() {
28     Markup.dump('test', 'Markup before');
29     selectAllCommand();
30     copyCommand();
31     pasteCommand();
32     Markup.dump('test', 'Markup after');
33 }
34 </script>
35
36 <title>Editing Test</title> 
37 </head> 
38 <body>
39 <div class="explanation">
40 <div class="scenario">
41 Tests: 
42 <br>
43 Fix for this bug: 
44 <a href="https://bugs.webkit.org/show_bug.cgi?id=56874">&lt;https://bugs.webkit.org/show_bug.cgi?id=56874&gt;</a> Repeated copy and paste-in-place operation results in increasingly verbose HTML.
45 </div>
46 <div class="expected-results">
47 Expected Results:
48 <br>
49 The markup before and after should be identical.
50 </div>
51 </div>
52 <div contenteditable id="test" class="editing">
53 <b><i>hello bold and italic</i></b><div><i>hello italic</I></div><div><font color="#ff0000">hello red</font></div>
54 </div>
55
56 <script>
57 runEditingTest();
58 </script>
59
60 </body>
61 </html>