Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / paste-text-with-style-5.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p id="description">This tests copying and pasting text does not strip inline styles that overrides UA style rules.
5 To manually test, copy and paste "hello world" below. The pasted text should be bolded.</p>
6 <div id="test" contenteditable><b style="font-weight: normal">hello world</b></div>
7 <script src="../../resources/dump-as-markup.js"></script>
8 <script>
9 if (window.testRunner)
10      testRunner.dumpAsText();
11
12 Markup.description(document.getElementById('description').textContent);
13
14 document.getElementById('test').focus();
15
16 Markup.dump('test', 'Before copy-paste');
17 document.execCommand('SelectAll', false, null);
18 document.execCommand('Copy', false, null);
19 document.execCommand('Paste', false, null);
20 Markup.dump('test', 'After copy-paste');
21
22 </script>
23 </body>
24 </html>