Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / paste-code-in-pre.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p>This tests a bug when copying HTML markup inside &lt;pre&gt; tags. When pasted, this content would appear as the rendered form of that markup.
5 You should see markup in the editable region below. See &lt;rdar://5027857&gt;.</p>
6 <div><pre id="pre" contenteditable="true">&lt;input type='button'&gt;foo&lt;br&gt;bar&lt;b&gt;baz&lt;/b&gt;</pre></div>
7 <script src="../../resources/dump-as-markup.js"></script>
8 <script>
9
10 var pre = document.getElementById("pre");
11 pre.focus();
12 document.execCommand("SelectAll");
13 document.execCommand("Cut");
14 document.execCommand("Paste");
15
16 Markup.description(document.getElementsByTagName('p')[0].textContent);
17 Markup.dump(pre.parentNode);
18
19 </script>
20 </body>
21 </html>