Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / paste-blockquote-3.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 blockquote {
6     color: blue;
7     border-left: 2px solid blue;
8     margin: 0px;
9     padding: 0 0 0 20px;
10 }
11 </style>
12 </head>
13 <body>
14 <div id="div" contenteditable="true">This should not be blockquoted. This should not be blockquoted.</div>
15 <script src="../../resources/dump-as-markup.js"></script>
16 <script>
17
18 Markup.description("This tests pasting a blockquote into the middle of a paragraph.");
19
20 var sel = window.getSelection();
21 var div = document.getElementById("div");
22
23 sel.setPosition(div, 0);
24 sel.modify("move", "forward", "word");
25 sel.modify("move", "forward", "word");
26 sel.modify("move", "forward", "word");
27 sel.modify("move", "forward", "word");
28 sel.modify("move", "forward", "word");
29 sel.modify("move", "forward", "character");
30 document.execCommand("InsertHTML", false, "<blockquote type='cite'>&nbsp;This should not be blockquoted.<br>This should be blockquoted.<br>This should not be blockquoted.</blockquote>");
31
32 Markup.dump('div');
33 </script>
34 </body>
35 </html>