Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / copy-standalone-image.html
blobe0e196c212ca4dd46aa0e1c8f17c624f2165127b
1 <html>
2 <head>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpEditingCallbacks();
7 function editingTest() {
8 frames['imageframe'].document.execCommand("Copy");
10 var s = window.getSelection();
11 var e = document.getElementById("dest");
12 s.collapse(e, 0);
13 document.execCommand("Paste");
15 </script>
16 <style>
17 .editable {
18 border: 2px solid red;
19 padding: 12px;
20 font-size: 24px;
23 iframe {
24 border: 2px solid blue;
26 </style>
27 </head>
28 <body>
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>
35 <iframe name="imageframe" src="../resources/abe.png" onload="editingTest()">
36 </iframe>
38 <div id="dest" class="editable" contenteditable="true"> </div>
40 </body>
41 </html>