Searched refs:hasOneChild (Results 1 – 2 of 2) sorted by relevance
87 bool hasOneChild() const { return m_firstChild && !m_firstChild->nextSibling(); } in hasOneChild() function88 bool hasOneTextChild() const { return hasOneChild() && m_firstChild->isTextNode(); } in hasOneTextChild()
1045 if (containerNode->hasOneChild()) { in replaceChildrenWithFragment()1068 if (containerNode->hasOneChild()) { in replaceChildrenWithText()