<head> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
var svgDocumentString = '<svg><use x="50" y="10" xlink:href="resources/svg-defs-vary.py#circle" /></svg>'; | |
function makeDocument() { | |
var doc = document.implementation.createHTMLDocument(''); | |
doc.open(); | |
doc.write(svgDocumentString); | |
doc.close(); | |
} | |
</script> | |
</head> | |
<body onload="makeDocument()"> | |
This test passes if it doesn't crash. | |
<script> | |
document.write(svgDocumentString); | |
</script> |