Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / avoid-copying-body-with-background.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 body {
6     background: transparent;
7     width: 500px;
8     height: 200px;
9     overflow-x: auto; overflow-y:auto;
10     text-decoration: underline;
11 }
12 </style>
13 </head>
14 <body style="color: rgb(51, 51, 51); " contenteditable="true">
15 <ul>
16 <li>hello, world <a href="http://www.webkit.org/">WebKit</a></li>
17 <li>Copied content</li>
18 </ul>
19 <script src="../../resources/dump-as-markup.js"></script>
20 <script>
21
22 document.body.focus();
23 document.execCommand('SelectAll', false, null);
24 document.execCommand('Copy', false, null);
25 getSelection().modify('Move', 'Forward', 'Character');
26 document.execCommand('Paste', false, null);
27
28 while (script = document.querySelector('script'))
29     script.parentNode.removeChild(script);
30
31 Markup.description('This test copies and pastes content inside a body with background and text-decoration properties. WebKit should not nest body.');
32 Markup.dump(document.body);
33
34 </script>
35 </body>
36 </html>