<html xmlns="http://www.w3.org/1999/xhtml">
Test passes if it does not crash.
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="container">
<script>
if (window.testRunner)
testRunner.dumpAsText();
window.onload = function() {
document.getElementById("container").textContent = "1";
}
</script>
<desc id="test-desc"></desc>
<tref xlink:href="#test-desc"></tref>
</svg>
</html>