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.cpp200 Node* listChildNode = enclosingListChild(selectionNode); in doApplyForSingleParagraph() local
202 if (listChildNode) { in doApplyForSingleParagraph()
204 RefPtr<HTMLElement> listNode = enclosingList(listChildNode); in doApplyForSingleParagraph()
206 listNode = fixOrphanedListChild(listChildNode); in doApplyForSingleParagraph()
250 unlistifyParagraph(endingSelection().visibleStart(), listNode.get(), listChildNode); in doApplyForSingleParagraph()
253 if (!listChildNode || switchListType || forceCreateList) in doApplyForSingleParagraph()
257 …nlistifyParagraph(const VisiblePosition& originalStart, HTMLElement* listNode, Node* listChildNode) in unlistifyParagraph() argument
263 if (listChildNode->hasTagName(liTag)) { in unlistifyParagraph()
264 start = firstPositionInNode(listChildNode); in unlistifyParagraph()
265 end = lastPositionInNode(listChildNode); in unlistifyParagraph()
[all …]
DBreakBlockquoteCommand.cpp148 Node* listChildNode = i > 1 ? ancestors[i - 2].get() : startNode; in doApply() local
151 while (listChildNode && !listChildNode->hasTagName(liTag)) in doApply()
152 listChildNode = listChildNode->nextSibling(); in doApply()
153 … if (listChildNode && listChildNode->renderer() && listChildNode->renderer()->isListItem()) in doApply()
154 …tribute(clonedChild, startAttr, AtomicString::number(toRenderListItem(listChildNode->renderer())->… in doApply()
DInsertParagraphSeparatorCommand.cpp167 …Node* listChildNode = enclosingListChild(insertionPosition.parentAnchoredEquivalent().containerNod… in doApply() local
168 …RefPtr<Element> listChild = listChildNode && listChildNode->isHTMLElement() ? toHTMLElement(listCh… in doApply()
DInsertListCommand.h58 …listifyParagraph(const VisiblePosition& originalStart, HTMLElement* listNode, Node* listChildNode);
Dhtmlediting.cpp711 Node* listChildNode = enclosingListChild(visiblePos.deepEquivalent().deprecatedNode()); in enclosingEmptyListItem() local
712 if (!listChildNode || !isStartOfParagraph(visiblePos) || !isEndOfParagraph(visiblePos)) in enclosingEmptyListItem()
715 VisiblePosition firstInListChild(firstPositionInOrBeforeNode(listChildNode)); in enclosingEmptyListItem()
716 VisiblePosition lastInListChild(lastPositionInOrAfterNode(listChildNode)); in enclosingEmptyListItem()
721 if (embeddedSublist(listChildNode) || appendedSublist(listChildNode)) in enclosingEmptyListItem()
724 return listChildNode; in enclosingEmptyListItem()