4 <script src=
"../../../resources/js-test.js"></script>
7 <div id=
"target"></div>
9 var target
= document
.getElementById("target");
10 var attr
= target
.attributes
[0];
11 var anotherDocument
= document
.implementation
.createDocument("http://www.w3.org/1999/xhtml", "", null);
12 anotherDocument
.title
= "Hello";
13 anotherDocument
.adoptNode(target
);
14 shouldBe("attr.ownerDocument.title", "anotherDocument.title");