Lines Matching refs:isSameNode

590         self.confirm(a1.isSameNode(a2))
599 self.confirm(a1.isSameNode(a2))
705 self.confirm(not (doc.isSameNode(doc2) or doc2.isSameNode(doc)),
711 self.confirm(doc2.documentElement.ownerDocument.isSameNode(doc2),
713 self.confirm(not doc.documentElement.isSameNode(doc2.documentElement),
719 self.confirm(doc2.doctype.ownerDocument.isSameNode(doc2))
720 self.confirm(not doc.doctype.isSameNode(doc2.doctype))
738 self.confirm((not se.isSameNode(ce))
739 and (not ce.isSameNode(se))
750 self.confirm((not sn.isSameNode(cn))
751 and (not cn.isSameNode(sn))
810 self.confirm(not clone.isSameNode(attr))
811 self.confirm(not attr.isSameNode(clone))
814 self.confirm(clone.ownerDocument.isSameNode(attr.ownerDocument),
1208 and elem.getAttributeNode("b").isSameNode(attr)
1209 and attrmap["b"].isSameNode(attr)
1210 and attr.ownerDocument.isSameNode(doc)
1211 and attr.ownerElement.isSameNode(elem))
1223 and elem.getAttributeNode("c").isSameNode(attr)
1225 "http://xml.python.org/ns", "c").isSameNode(attr)
1226 and attrmap["c"].isSameNode(attr)
1227 and attrmap[("http://xml.python.org/ns", "c")].isSameNode(attr))
1242 and elem.getAttributeNode("p:d").isSameNode(attr)
1244 "http://xml.python.org/ns2", "d").isSameNode(attr)
1245 and attrmap["p:d"].isSameNode(attr)
1246 and attrmap[("http://xml.python.org/ns2", "d")].isSameNode(attr))
1262 and elem.getAttributeNode("e").isSameNode(attr)
1263 and attrmap["e"].isSameNode(attr))
1281 and elem.ownerDocument.isSameNode(doc))
1290 and elem.ownerDocument.isSameNode(doc))
1299 and elem.ownerDocument.isSameNode(doc))
1308 and elem.ownerDocument.isSameNode(doc))
1439 self.confirm(e.isSameNode(doc.getElementById("v"))
1443 self.confirm(e.isSameNode(doc.getElementById("v"))
1444 and e.isSameNode(doc.getElementById("w"))
1452 and e.isSameNode(doc.getElementById("w"))
1458 self.confirm(e.isSameNode(doc.getElementById("w"))
1475 self.confirm(e.isSameNode(doc.getElementById("v"))
1479 self.confirm(e.isSameNode(doc.getElementById("v"))
1480 and e.isSameNode(doc.getElementById("w"))
1487 self.confirm(e.isSameNode(doc.getElementById("w")))
1494 self.confirm(e.isSameNode(doc.getElementById("w"))
1511 self.confirm(e.isSameNode(doc.getElementById("v"))
1515 self.confirm(e.isSameNode(doc.getElementById("v"))
1516 and e.isSameNode(doc.getElementById("w"))
1523 self.confirm(e.isSameNode(doc.getElementById("w")))
1530 self.confirm(e.isSameNode(doc.getElementById("w"))
1540 self.assertFalse(n1.isSameNode(n2))
1541 self.assertFalse(n2.isSameNode(n1))
1565 self.assertTrue(n1.ownerDocument.isSameNode(doc))
1566 self.assertTrue(n2.ownerDocument.isSameNode(doc2))