1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
7 var c = document.getElementById('console')
8 c.appendChild(document.createTextNode(str + '\n'));
12 i.src ="resources/webkit-background.png";
14 function dragStartHandler() {
15 event.dataTransfer.setDragImage(i, 10, 10);
20 <body onload="runTests();">
21 <p>This tests that setting the drag image works. If this is successful, the drag icon when dragging the text below around should look like the image below.</p>
22 <img src="resources/webkit-background.png">
23 <div ondragstart="dragStartHandler()" style="-khtml-user-select:none; -khtml-user-drag:element;">Try dragging me around!</div>