Change log level: info -> debug
[framework/web/webkit-efl.git] / LayoutTests / editing / pasteboard / copy-standalone-image.html
1 <html> 
2 <head>
3 <script>
4 if (window.testRunner)
5      testRunner.dumpEditingCallbacks();
6
7 function editingTest() {
8     frames['imageframe'].document.execCommand("Copy");
9     
10     var s = window.getSelection();
11     var e = document.getElementById("dest");
12     s.setPosition(e, 0);
13     document.execCommand("Paste");
14 }
15 </script>
16 <style>
17 .editable { 
18     border: 2px solid red; 
19     padding: 12px; 
20     font-size: 24px; 
21 }
22
23 iframe {
24     border: 2px solid blue; 
25 }
26 </style>
27 </head>
28 <body>
29
30 <p>This is an automatic test of copying an image document.</p>
31 <p>To perform this test manually, click once in the image frame, choose Edit -> Copy
32 then click in the red box and paste the image. If the image pastes successfully the
33 test is passed.</p>
34
35 <iframe name="imageframe" src="../resources/abe.png" onload="editingTest()">
36 </iframe>
37
38 <div id="dest" class="editable" contenteditable="true"> </div>
39
40 </body>
41 </html>