diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 18:28:41 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 18:28:41 -0800 |
commit | 648161bb0edfc3d43db63caed5cc5213bc6cb78f (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /WebCore/manual-tests/drag-image.html | |
parent | a65af38181ac7d34544586bdb5cd004de93897ad (diff) | |
download | external_webkit-648161bb0edfc3d43db63caed5cc5213bc6cb78f.zip external_webkit-648161bb0edfc3d43db63caed5cc5213bc6cb78f.tar.gz external_webkit-648161bb0edfc3d43db63caed5cc5213bc6cb78f.tar.bz2 |
auto import from //depot/cupcake/@135843
Diffstat (limited to 'WebCore/manual-tests/drag-image.html')
-rw-r--r-- | WebCore/manual-tests/drag-image.html | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/WebCore/manual-tests/drag-image.html b/WebCore/manual-tests/drag-image.html deleted file mode 100644 index 580d5e5..0000000 --- a/WebCore/manual-tests/drag-image.html +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" - "http://www.w3.org/TR/html4/loose.dtd"> -<html> -<head> -<script> -function debug(str) { - var c = document.getElementById('console') - c.appendChild(document.createTextNode(str + '\n')); -} - -var i = new Image() -i.src ="resources/webkit-background.png"; - -function dragStartHandler() { - event.dataTransfer.setDragImage(i, 10, 10); -} - -</script> -</head> -<body onload="runTests();"> -<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> -<img src="resources/webkit-background.png"> -<div ondragstart="dragStartHandler()" style="-khtml-user-select:none; -khtml-user-drag:element;">Try dragging me around!</div> -<pre id="console"> -</pre> -</body> -</html> |