Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / 5006779.html
1 <style>
2 blockquote {
3     border-left: 2px solid blue;
4     margin: 0;
5     padding-left: 10px;
6     color: blue;
7 }
8 </style>
9 <p>This tests copying/pasting less than a paragraph of quoted content.  It should not appear quoted.</p>
10 <div id="div" contenteditable="true">
11 <br>
12 <br>
13 <blockquote type="cite">On Tuesday, Dave wrote:</blockquote>
14 <blockquote type="cite"><br></blockquote>
15 <blockquote type="cite">Hello World.</blockquote>
16 </div>
17
18 <script>
19 var sel = window.getSelection();
20 var div = document.getElementById("div");
21 sel.setPosition(div, 0);
22 sel.modify("move", "forward", "paragraph");
23 sel.modify("move", "forward", "paragraph");
24 sel.modify("extend", "forward", "word");
25 document.execCommand("Copy");
26 sel.setPosition(div, 0);
27 document.execCommand("PasteAndMatchStyle");
28 </script>