Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / paste-text-012.html
1 <!DOCTYPE html>
2 <html> 
3 <head>
4 <script src="../../../resources/dump-as-markup.js"></script>
5 <style>
6 .editing { 
7     border: 2px solid red; 
8     padding: 12px; 
9     font-size: 24px; 
10 }
11 </style>
12 </head> 
13 <body>
14 <p>See this bug: <a href="rdar://problem/3918712">&lt;rdar://problem/3918712&gt;</a> "Paste as Quotation" in Mail just pastes (&lt;blockquote&gt; tag seems to be lost).</p>
15 <p>To manually test, copy everything in the first editable box and paste it in the second box.
16 You should see "foo" and a new line inside a red box.</p>
17 <div contenteditable id="root">
18 <div id="test" class="editing"><div><blockquote>foo</blockquote></div></div>
19 <div class="editing"></div>
20 </div>
21 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
22 <script>
23
24 function editingTest() {
25     for (i = 0; i < 4; i++)
26         extendSelectionForwardByCharacterCommand();
27     copyCommand();
28     for (i = 0; i < 2; i++)
29         moveSelectionForwardByCharacterCommand();
30     pasteCommand();
31 }
32
33 if (window.testRunner)
34     runDumpAsTextEditingTest();
35 </script>
36 </body>
37 </html>