blob: 71851166cfb8849db5b4f37d01a3a82b266b4e34 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<html>
<svg xmlns="http://www.w3.org/2000/svg" onload="onLoad()" xmlns:xlink="http://www.w3.org/1999/xlink">
<script type="text/javascript">
function onLoad()
{
clickLink(document.getElementById("link"));
if (window.testRunner)
testRunner.dumpAsText();
}
function clickLink(link)
{
var event = document.createEvent("MouseEvents");
event.initMouseEvent("click", true, true, window,
0, 0, 0, 0, 0,
false, false, false, false,
0, null);
link.dispatchEvent(event);
}
</script>
<a id="link" xlink:href="#">
<text x="50" y="50">PASS if no crash</text>
</a>
</svg>
</html>