Lines Matching refs:firstChild
96 and root.firstChild is nelem
536 pi = dom.documentElement.firstChild
544 and pi.firstChild is None
828 pi = doc.firstChild
869 self.assertEqual(clone.documentElement.firstChild.wholeText,
902 and root.firstChild is root.lastChild
903 and root.firstChild.data == "firstsecond"
928 and root.firstChild.data == "firstsecond"
929 and root.firstChild is not root.lastChild
930 and root.firstChild.nextSibling is root.lastChild
931 and root.firstChild.previousSibling is None
932 and root.lastChild.previousSibling is root.firstChild
948 and root.firstChild.data == "first"
949 and root.firstChild is root.lastChild
950 and root.firstChild.nextSibling is None
951 and root.firstChild.previousSibling is None
966 and root.firstChild.data == "second"
967 and root.firstChild is root.lastChild
968 and root.firstChild.nextSibling is None
969 and root.firstChild.previousSibling is None
985 and root.firstChild is not root.lastChild
986 and root.firstChild.nextSibling is root.lastChild
987 and root.firstChild.previousSibling is None
988 and root.lastChild.previousSibling is root.firstChild
1007 and root.firstChild is root.lastChild
1008 and root.firstChild.data == "secondfourth"
1009 and root.firstChild.previousSibling is None
1010 and root.firstChild.nextSibling is None
1379 e = elem.firstChild
1389 text1 = elem.firstChild
1662 self.checkWholeText(dom1.getElementsByTagName('node')[0].firstChild, '</data>')
1664 self.checkWholeText(dom2.getElementsByTagName('node')[0].firstChild, '</data>')