Searched refs:secondList (Results 1 – 2 of 2) sorted by relevance
742 bool canMergeLists(Element* firstList, Element* secondList) in canMergeLists() argument744 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()
227 bool canMergeLists(Element* firstList, Element* secondList);