Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / 19644-2.html
1 <head>
2 <script>
3 function runTest() {
4     document.body.focus();
5     document.execCommand("SelectAll");
6     if (!testRunner)
7         return;
8     testRunner.dumpAsText();
9     document.execCommand("Cut");
10     document.body.style.backgroundColor = "white";
11     document.execCommand("Paste");
12     document.body.innerText = document.body.innerHTML;
13     
14 }
15 </script>
16 </head>
17 <body onLoad="runTest();" contentEditable="true" style="background-color: #bbb;">This tests to make sure that we wrap copied markup in a div to hold a fully selected body's attributes and style when the that body has a background-color.  If you copy and paste this text into Mail, it should have a grey background.</body>