Lines Matching refs:documentElement
64 dom.documentElement.getElementsByTagName("LI"))
69 root = dom.documentElement
116 dom.documentElement.appendChild(orig)
125 dom.documentElement.insertBefore(frag, None)
126 self.confirm(tuple(dom.documentElement.childNodes) ==
133 dom.documentElement.insertBefore(frag, orig)
134 self.confirm(tuple(dom.documentElement.childNodes) ==
142 dom.documentElement.appendChild(dom.createComment(u"Hello"))
143 self.confirm(dom.documentElement.childNodes[-1].nodeName == "#comment")
144 self.confirm(dom.documentElement.childNodes[-1].data == "Hello")
149 dom.documentElement.appendChild(frag)
150 self.confirm(tuple(dom.documentElement.childNodes) ==
158 dom.documentElement.replaceChild(frag, orig)
160 self.confirm(tuple(dom.documentElement.childNodes) == (c1, c2, c3),
217 self.confirm(dom.documentElement)
222 el = dom.documentElement
228 self.confirm(a.ownerElement is dom.documentElement,
234 el = dom.documentElement
307 el = dom.documentElement
478 pi = dom.documentElement.firstChild
529 e = doc.documentElement
538 e = doc.documentElement
594 root = dom.documentElement
646 self.confirm(doc2.documentElement.nodeType == Node.ELEMENT_NODE,
647 "testCloneDocumentDeep: documentElement not an ELEMENT_NODE")
648 self.confirm(doc2.documentElement.ownerDocument.isSameNode(doc2),
649 "testCloneDocumentDeep: documentElement owner is not new document")
650 self.confirm(not doc.documentElement.isSameNode(doc2.documentElement),
651 "testCloneDocumentDeep: documentElement should not be shared")
744 attr = doc.documentElement.getAttributeNode("attr")
778 root = doc.documentElement
793 root = doc.documentElement
803 root = doc.documentElement
824 documentElement
842 root = doc.documentElement
860 root = doc.documentElement
880 root = doc.documentElement
917 root = doc.documentElement
964 text = doc.documentElement.childNodes[0]
972 node = doc.documentElement
980 root = doc.documentElement
995 root = doc.documentElement
1034 root = doc.documentElement
1111 elem = doc.documentElement
1188 elem = doc.documentElement
1241 elem = doc.documentElement
1277 elem = doc.documentElement
1287 elem = doc.documentElement
1331 elem = doc.documentElement
1348 e = doc.documentElement
1384 e = doc.documentElement
1420 e = doc.documentElement