blob: 9b1abeb1d42f14061666ee2b04eef27d1ef6e0fd [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();
}
setTimeout(test, 0);
</script>
<elt attr="1" attr="2"/>
</svg>