1 <svg xmlns=
"http://www.w3.org/2000/svg" xmlns:
xlink=
"http://www.w3.org/1999/xlink" width=
"400" height=
"400" onload=
"startup()">
3 <cursor id=
"cursor1" xlink:
href=
"data:image/png;base64,"/>
4 <cursor id=
"cursor2" xlink:
href=
"data:image/png;base64,"/>
10 if (window.testRunner) {
11 testRunner.dumpAsText();
12 testRunner.waitUntilDone();
13 gc = function(){window.GCController.collect()};
14 } else if (!window.gc)
21 outer = document.getElementById(
"outer");
22 inner = document.getElementById(
"inner");
24 if (location.hash !=
"#3") {
26 location.hash =
"#" + (parseInt(location.hash.slice(
1)) +
1).toString();
32 inner.setAttribute('fill',
"green");
33 while (inner.firstChild)
34 inner.removeChild(inner.firstChild);
35 inner.appendChild(document.createTextNode(
"PASS: Successfully changed cursors."));
36 if (window.testRunner)
37 testRunner.notifyDone();
42 outer.setAttribute('cursor',
"url('#cursor2')");
43 inner.removeAttribute('cursor');
48 outer.removeAttribute('cursor');
49 setTimeout(function(){location.reload()},
0);
57 <text x=
"20" y=
"20" fill=
"red" id=
"inner" cursor=
"url('#cursor1')">X
</text>