Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/editing/
DInsertListCommand.cpp195 Node* listChildNode = enclosingListChild(selectionNode); in doApplyForSingleParagraph() local
197 if (listChildNode) { in doApplyForSingleParagraph()
199 RefPtr<HTMLElement> listNode = enclosingList(listChildNode); in doApplyForSingleParagraph()
201 listNode = fixOrphanedListChild(listChildNode); in doApplyForSingleParagraph()
246 unlistifyParagraph(endingSelection().visibleStart(), listNode.get(), listChildNode); in doApplyForSingleParagraph()
249 if (!listChildNode || switchListType || forceCreateList) in doApplyForSingleParagraph()
253 …nlistifyParagraph(const VisiblePosition& originalStart, HTMLElement* listNode, Node* listChildNode) in unlistifyParagraph() argument
259 if (listChildNode->hasTagName(liTag)) { in unlistifyParagraph()
260 start = firstPositionInNode(listChildNode); in unlistifyParagraph()
261 end = lastPositionInNode(listChildNode); in unlistifyParagraph()
[all …]
DBreakBlockquoteCommand.cpp146 Node* listChildNode = i > 1 ? ancestors[i - 2] : startNode; in doApply() local
149 while (listChildNode && !listChildNode->hasTagName(liTag)) in doApply()
150 listChildNode = listChildNode->nextSibling(); in doApply()
151 … if (listChildNode && listChildNode->renderer() && listChildNode->renderer()->isListItem()) in doApply()
152 …ment*>(clonedChild.get()), startAttr, String::number(toRenderListItem(listChildNode->renderer())->… in doApply()
Dhtmlediting.cpp734 Node* listChildNode = enclosingListChild(visiblePos.deepEquivalent().deprecatedNode()); in enclosingEmptyListItem() local
735 if (!listChildNode || !isStartOfParagraph(visiblePos) || !isEndOfParagraph(visiblePos)) in enclosingEmptyListItem()
738 VisiblePosition firstInListChild(firstPositionInOrBeforeNode(listChildNode)); in enclosingEmptyListItem()
739 VisiblePosition lastInListChild(lastPositionInOrAfterNode(listChildNode)); in enclosingEmptyListItem()
744 if (embeddedSublist(listChildNode) || appendedSublist(listChildNode)) in enclosingEmptyListItem()
747 return listChildNode; in enclosingEmptyListItem()
DInsertListCommand.h58 …listifyParagraph(const VisiblePosition& originalStart, HTMLElement* listNode, Node* listChildNode);
/external/webkit/Source/WebCore/
DChangeLog-2008-08-1065140 (WebCore::InsertListCommand::doApply): Split ancestors of listChildNode between
65141 it and listNode, if they exists, so that moving listChildNode doesn't put it out