blob: 8c5b4dc2bb8b46e10adccb79693b9f29e58f2b10 [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.layoutTestController)
layoutTestController.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>