Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / 5780697-1.html
1 <html>
2 <head>
3 <style>
4 p {
5     color: red;
6 }
7 </style>
8 </head>
9 <body>
10 <div id="description">This tests for a copy bug where styles from matched rules would be placed on elements and take precedence over styles from their inline style declarations. When run manually, you must do a Paste.  The text in the bottom region should be blue.</div>
11 <div id="copy" contenteditable="true">
12 <p style="color: blue;">This text</p>
13 <p style="color: blue;">should be</p>
14 <p style="color: blue;">blue</p>
15 </div>
16
17 <div id="paste" contenteditable="true"></div>
18
19 <script>
20 copy = document.getElementById("copy");
21 copy.focus();
22 document.execCommand("selectall");
23 document.execCommand("copy");
24 paste = document.getElementById("paste");
25 paste.focus();
26 document.execCommand("paste");
27 if (window.testRunner) {
28     window.testRunner.dumpAsText();
29     document.body.innerText = document.getElementById("description").innerText + "\n\n" + copy.innerHTML;
30 }
31 </script>
32 </body>
33 </html>