Home
last modified time | relevance | path

Searched refs:listChildNode (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
DInsertListCommand.cpp209 Node* listChildNode = enclosingListChild(selectionNode); in doApplyForSingleParagraph() local
211 if (listChildNode) { in doApplyForSingleParagraph()
213 RefPtrWillBeRawPtr<HTMLElement> listElement = enclosingList(listChildNode); in doApplyForSingleParagraph()
215 listElement = fixOrphanedListChild(listChildNode); in doApplyForSingleParagraph()
259 unlistifyParagraph(endingSelection().visibleStart(), listElement.get(), listChildNode); in doApplyForSingleParagraph()
262 if (!listChildNode || switchListType || forceCreateList) in doApplyForSingleParagraph()
266 …stifyParagraph(const VisiblePosition& originalStart, HTMLElement* listElement, Node* listChildNode) in unlistifyParagraph() argument
272 ASSERT(listChildNode); in unlistifyParagraph()
273 if (isHTMLLIElement(*listChildNode)) { in unlistifyParagraph()
274 start = VisiblePosition(firstPositionInNode(listChildNode)); in unlistifyParagraph()
[all …]
DBreakBlockquoteCommand.cpp150 Node* listChildNode = i > 1 ? ancestors[i - 2].get() : startNode; in doApply() local
153 while (listChildNode && !isHTMLLIElement(*listChildNode)) in doApply()
154 listChildNode = listChildNode->nextSibling(); in doApply()
155 … if (listChildNode && listChildNode->renderer() && listChildNode->renderer()->isListItem()) in doApply()
156 …tribute(clonedChild, startAttr, AtomicString::number(toRenderListItem(listChildNode->renderer())->… in doApply()
DInsertParagraphSeparatorCommand.cpp170 …Node* listChildNode = enclosingListChild(insertionPosition.parentAnchoredEquivalent().containerNod… in doApply() local
171 …WillBeRawPtr<HTMLElement> listChild = listChildNode && listChildNode->isHTMLElement() ? toHTMLElem… in doApply()
DInsertListCommand.h59 …listifyParagraph(const VisiblePosition& originalStart, HTMLElement* listNode, Node* listChildNode);
Dhtmlediting.cpp714 Node* listChildNode = enclosingListChild(visiblePos.deepEquivalent().deprecatedNode()); in enclosingEmptyListItem() local
715 if (!listChildNode || !isStartOfParagraph(visiblePos) || !isEndOfParagraph(visiblePos)) in enclosingEmptyListItem()
718 VisiblePosition firstInListChild(firstPositionInOrBeforeNode(listChildNode)); in enclosingEmptyListItem()
719 VisiblePosition lastInListChild(lastPositionInOrAfterNode(listChildNode)); in enclosingEmptyListItem()
724 return listChildNode; in enclosingEmptyListItem()