Home
last modified time | relevance | path

Searched refs:secondList (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
Dhtmlediting.cpp742 bool canMergeLists(Element* firstList, Element* secondList) in canMergeLists() argument
744 if (!firstList || !secondList || !firstList->isHTMLElement() || !secondList->isHTMLElement()) in canMergeLists()
747 … return firstList->hasTagName(secondList->tagQName()) // make sure the list types match (ol vs. ul) in canMergeLists()
748 … && firstList->rendererIsEditable() && secondList->rendererIsEditable() // both lists are editable in canMergeLists()
749 …&& firstList->rootEditableElement() == secondList->rootEditableElement() // don't cross editing bo… in canMergeLists()
750 …&& isVisiblyAdjacent(positionInParentAfterNode(firstList), positionInParentBeforeNode(secondList)); in canMergeLists()
Dhtmlediting.h227 bool canMergeLists(Element* firstList, Element* secondList);