Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / 5065605.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div id="div" contenteditable="true"><br></div>
5 <script src="../../resources/dump-as-markup.js"></script>
6 <script>
7 var div = document.getElementById("div");
8 div.focus();
9
10 if (window.testRunner)
11     testRunner.dumpEditingCallbacks();
12
13 document.execCommand("InsertText", false, "This text should be red.");
14 document.execCommand("InsertParagraph");
15 document.execCommand("InsertText", false, "This text should be red.");
16 document.execCommand("SelectAll");
17 document.execCommand("ForeColor", false, "red");
18 document.execCommand("Copy");
19 window.getSelection().modify("move", "forward", "character");
20 document.execCommand("InsertParagraph");
21 document.execCommand("Paste");
22
23 Markup.description('This tests for a bug where text copied with Select All + Copy would lose its color.');
24 Markup.dump('div');
25
26 </script>
27 </body>
28 </html>