OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script> | 4 <script> |
5 function runTest() { | 5 function runTest() { |
6 if (window.layoutTestController) { | 6 if (window.layoutTestController) { |
7 layoutTestController.dumpAsText(); | 7 layoutTestController.dumpAsText(); |
8 layoutTestController.waitUntilDone(); | 8 layoutTestController.waitUntilDone(); |
9 } else | 9 } else |
10 return; | 10 return; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 <body onload="runTest()"> | 45 <body onload="runTest()"> |
46 | 46 |
47 <p>This test requires DumpRenderTree. To test manually, drag the image to the de
sktop. It should receive the name "onload-image.png". | 47 <p>This test requires DumpRenderTree. To test manually, drag the image to the de
sktop. It should receive the name "onload-image.png". |
48 | 48 |
49 <div id="target" ondragenter="dragEnterOrOver(event)" ondragover="dragEnterOrOve
r(event)" ondrop="drop(event)"></div> | 49 <div id="target" ondragenter="dragEnterOrOver(event)" ondragover="dragEnterOrOve
r(event)" ondrop="drop(event)"></div> |
50 <img id="source" src="resources/onload-image.png" alt="Does it work?"> | 50 <img id="source" src="resources/onload-image.png" alt="Does it work?"> |
51 | 51 |
52 </body> | 52 </body> |
53 </html> | 53 </html> |
OLD | NEW |