blob: d331c3fba1478c7ece5bebcdbaa6c47d8f5b215e [file] [log] [blame]
<head>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var svgDocumentString = '<svg><use x="50" y="10" xlink:href="resources/svg-defs-vary.php#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>