Lines Matching refs:newParent
1222 static bool isChildTypeAllowed(Node* newParent, Node* child)
1225 if (!newParent->childTypeAllowed(child->nodeType()))
1231 if (!newParent->childTypeAllowed(n->nodeType()))
1242 static void checkAcceptChild(Node* newParent, Node* newChild, ExceptionCode& ec)
1250 if (newParent->isReadOnlyNode()) {
1263 if (newChild == newParent || newParent->isDescendantOf(newChild)) {