<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<cursor id="mycursor" xlink:href="resources/green-checker.png" /> | |
<rect style="cursor: url(#mycursor)" width="100" height="100" fill="white" stroke="blue" /> | |
<text x="10" y="130">Hover over the rect, you should see a (large) custom cursor</text> | |
<script> | |
if (window.testRunner) { | |
testRunner.waitUntilDone(); | |
setTimeout(function() { | |
testRunner.dumpDOMAsWebArchive(); | |
testRunner.notifyDone(); | |
}, 0); | |
} | |
</script> | |
</svg> |