Home
last modified time | relevance | path

Searched refs:hasOneChild (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/dom/
DContainerNode.h72 bool hasOneChild() const { return m_firstChild && !m_firstChild->nextSibling(); } in hasOneChild() function
73 bool hasOneTextChild() const { return hasOneChild() && m_firstChild->isTextNode(); } in hasOneTextChild()
/external/chromium_org/third_party/WebKit/Source/core/editing/
Dmarkup.cpp817 if (element.hasOneChild()) in isPlainTextMarkup()
1030 if (containerNode->hasOneChild()) { in replaceChildrenWithFragment()
1065 if (containerNode->hasOneChild()) { in replaceChildrenWithText()
DReplaceSelectionCommand.cpp1457 while (listElement->hasOneChild() && isHTMLListElement(listElement->firstChild())) in insertAsListItems()