blob: be1e46ce5eed8ae90df816220a68330b43ba550e [file] [log] [blame]
<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>