Searched refs:enclosingBlock (Results 1 – 12 of 12) sorted by relevance
109 bool InsertParagraphSeparatorCommand::shouldUseDefaultParagraphElement(Element* enclosingBlock) con… in shouldUseDefaultParagraphElement()118 return enclosingBlock->hasTagName(h1Tag) || in shouldUseDefaultParagraphElement()119 enclosingBlock->hasTagName(h2Tag) || in shouldUseDefaultParagraphElement()120 enclosingBlock->hasTagName(h3Tag) || in shouldUseDefaultParagraphElement()121 enclosingBlock->hasTagName(h4Tag) || in shouldUseDefaultParagraphElement()122 enclosingBlock->hasTagName(h5Tag); in shouldUseDefaultParagraphElement()169 …RefPtrWillBeRawPtr<Element> startBlock = enclosingBlock(insertionPosition.parentAnchoredEquivalent… in doApply()
66 … RefPtrWillBeRawPtr<Element> selectedListItem = enclosingBlock(lastNodeInSelectedParagraph.get()); in tryIndentingAsListItem()107 elementToSplitTo = enclosingBlock(start.containerNode()); in indentIntoBlockquote()187 …if (Element* enclosingBlockFlow = enclosingBlock(visibleStartOfParagraph.deepEquivalent().deprecat… in outdentParagraph()
132 Element* enclosingBlockElement = enclosingBlock(pos.containerNode()); in positionAvoidingPrecedingNodes()141 || enclosingBlock(nextPosition.containerNode()) != enclosingBlockElement in positionAvoidingPrecedingNodes()472 Element* sourceBlock = enclosingBlock(sourceNode); in shouldMerge()473 Element* destinationBlock = enclosingBlock(destinationNode); in shouldMerge()914 Element* containingBlock = enclosingBlock(insertionPos.containerNode()); in elementToSplitToAvoidPastingIntoInlineElementsWithStyle()949 …Element* enclosingBlockOfVisibleStart = enclosingBlock(visibleStart.deepEquivalent().deprecatedNod… in doApply()1031 …RefPtrWillBeRawPtr<Element> enclosingBlockOfInsertionPos = enclosingBlock(insertionPos.deprecatedN… in doApply()1111 Element* blockStart = enclosingBlock(insertionPos.deprecatedNode()); in doApply()1229 …Element* enclosingBlockElement = enclosingBlock(endOfInsertedContent.deepEquivalent().deprecatedNo… in doApply()
1092 Element* startBlock = enclosingBlock(startNode); in startOfParagraph()1169 Element* startBlock = enclosingBlock(startNode); in endOfParagraph()1290 …Element* startBlock = position.containerNode() ? enclosingBlock(position.containerNode(), rule) : … in startOfBlock()1297 … Element* endBlock = position.containerNode() ? enclosingBlock(position.containerNode(), rule) : 0; in endOfBlock()1303 …return !a.isNull() && enclosingBlock(a.deepEquivalent().containerNode()) == enclosingBlock(b.deepE… in inSameBlock()
622 Element* endBlock = enclosingBlock(m_downstreamEnd.deprecatedNode()); in mergeParagraphs()624 removeNode(enclosingBlock(m_downstreamEnd.deprecatedNode())); in mergeParagraphs()629 …(!mergeDestination.deepEquivalent().deprecatedNode()->isDescendantOf(enclosingBlock(m_upstreamStar… in mergeParagraphs()
69 Element* enclosingBlock(Node*, EditingBoundaryCrossingRule = CannotCrossEditingBoundary);
274 …RefPtrWillBeRawPtr<Element> block = enclosingBlock(paragraphStart.deepEquivalent().deprecatedNode(… in applyBlockStyle()463 Element* block = enclosingBlock(node); in splitAncestorsWithUnicodeBidi()512 Element* block = enclosingBlock(node); in removeEmbeddingUpToEnclosingBlock()661 …ddingStartElement = highestEmbeddingAncestor(start.deprecatedNode(), enclosingBlock(start.deprecat… in applyInlineStyle()662 …embeddingEndElement = highestEmbeddingAncestor(end.deprecatedNode(), enclosingBlock(end.deprecated… in applyInlineStyle()
468 return ancestorToRetainStructureAndAppearanceForBlock(enclosingBlock(commonAncestor)); in ancestorToRetainStructureAndAppearance()870 Element* block = enclosingBlock(context->firstNode()); in createFragmentFromText()
331 Element* enclosingBlock(Node* node, EditingBoundaryCrossingRule rule) in enclosingBlock() function356 Element* enclosingBlockElement = enclosingBlock(position.containerNode()); in directionOfEnclosingBlock()
942 } else if (enclosingBlock(upstreamEnd.deprecatedNode()) != upstreamStart.deprecatedNode()) { in moveParagraphContentsToNewBlockIfNecessary()
1355 Node* block = enclosingBlock(node); in textDirectionForSelection()
579 GrammarAST enclosingBlock = currentRewriteBlock;592 if ( enclosingBlock != null )595 enclosingBlock.rewriteRefsDeep.add( item );597 //currentRewriteBlock = enclosingBlock; // restore old BLOCK ptr600 finally { currentRewriteBlock = enclosingBlock; }