blob: f3e97ff58ae33d5d1a3b85b0deee8768d28252db [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
}
</script>
<xhtml:iframe src="javascript:if (top.body = top.document.body) document.implementation.createHTMLDocument().adoptNode(top.body)"/>
<script>
function test() {
alert(body.ownerDocument === body.firstChild.ownerDocument ? 'PASS' : 'FAIL');
if (window.testRunner)
testRunner.notifyDone();
}
onload = () => {
setTimeout(test, 0);
};
</script>
<elt attr="1" attr="2"/>
</svg>