Searched refs:hasOneChild (Results 1 – 2 of 2) sorted by relevance
290 static inline bool hasOneChild(ContainerNode* node) in hasOneChild() function298 return hasOneChild(node) && node->firstChild()->isTextNode(); in hasOneTextChild()313 if (hasOneChild(element)) { in replaceChildrenWithFragment()331 if (hasOneChild(element)) { in replaceChildrenWithText()
34823 (WebCore::hasOneChild): Added. Helper function.