Searched refs:enclosingBlock (Results 1 – 12 of 12) sorted by relevance
106 bool InsertParagraphSeparatorCommand::shouldUseDefaultParagraphElement(Node* enclosingBlock) const in shouldUseDefaultParagraphElement()115 return enclosingBlock->hasTagName(h1Tag) || in shouldUseDefaultParagraphElement()116 enclosingBlock->hasTagName(h2Tag) || in shouldUseDefaultParagraphElement()117 enclosingBlock->hasTagName(h3Tag) || in shouldUseDefaultParagraphElement()118 enclosingBlock->hasTagName(h4Tag) || in shouldUseDefaultParagraphElement()119 enclosingBlock->hasTagName(h5Tag); in shouldUseDefaultParagraphElement()166 …RefPtr<Element> startBlock = enclosingBlock(insertionPosition.parentAnchoredEquivalent().container… in doApply()
62 RefPtr<Element> selectedListItem = enclosingBlock(lastNodeInSelectedParagraph.get()); in tryIndentingAsListItem()103 nodeToSplitTo = enclosingBlock(start.containerNode()); in indentIntoBlockquote()179 …Node* enclosingBlockFlow = enclosingBlock(visibleStartOfParagraph.deepEquivalent().deprecatedNode(… in outdentParagraph()
120 Node* enclosingBlockNode = enclosingBlock(pos.containerNode()); in positionAvoidingPrecedingNodes()129 || enclosingBlock(nextPosition.containerNode()) != enclosingBlockNode in positionAvoidingPrecedingNodes()450 Node* sourceBlock = enclosingBlock(sourceNode); in shouldMerge()451 Node* destinationBlock = enclosingBlock(destinationNode); in shouldMerge()879 Node* containgBlock = enclosingBlock(insertionPos.containerNode()); in nodeToSplitToAvoidPastingIntoInlineNodesWithStyle()914 Node* startBlock = enclosingBlock(visibleStart.deepEquivalent().deprecatedNode()); in doApply()996 RefPtr<Node> insertionBlock = enclosingBlock(insertionPos.deprecatedNode()); in doApply()1076 Node* blockStart = enclosingBlock(insertionPos.deprecatedNode()); in doApply()1194 … Node* enclosingNode = enclosingBlock(endOfInsertedContent.deepEquivalent().deprecatedNode()); in doApply()
1105 Node* startBlock = enclosingBlock(startNode); in startOfParagraph()1182 Node* startBlock = enclosingBlock(startNode); in endOfParagraph()1304 if (!position.containerNode() || !(startBlock = enclosingBlock(position.containerNode(), rule))) in startOfBlock()1313 if (!position.containerNode() || !(endBlock = enclosingBlock(position.containerNode(), rule))) in endOfBlock()1320 …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()
63 Element* enclosingBlock(Node*, EditingBoundaryCrossingRule = CannotCrossEditingBoundary);
268 RefPtr<Node> block = enclosingBlock(paragraphStart.deepEquivalent().deprecatedNode()); in applyBlockStyle()446 Node* block = enclosingBlock(node); in splitAncestorsWithUnicodeBidi()495 Node* block = enclosingBlock(node); in removeEmbeddingUpToEnclosingBlock()646 …Node* embeddingStartNode = highestEmbeddingAncestor(start.deprecatedNode(), enclosingBlock(start.d… in applyInlineStyle()647 …Node* embeddingEndNode = highestEmbeddingAncestor(end.deprecatedNode(), enclosingBlock(end.depreca… in applyInlineStyle()
325 Element* enclosingBlock(Node* node, EditingBoundaryCrossingRule rule) in enclosingBlock() function333 Node* enclosingBlockNode = enclosingBlock(position.containerNode()); in directionOfEnclosingBlock()
449 return ancestorToRetainStructureAndAppearanceForBlock(enclosingBlock(commonAncestor)); in ancestorToRetainStructureAndAppearance()847 Node* blockNode = enclosingBlock(context->firstNode()); in createFragmentFromText()
964 } else if (enclosingBlock(upstreamEnd.deprecatedNode()) != upstreamStart.deprecatedNode()) { in moveParagraphContentsToNewBlockIfNecessary()967 …ASSERT(upstreamStart.deprecatedNode()->isDescendantOf(enclosingBlock(upstreamEnd.deprecatedNode())… in moveParagraphContentsToNewBlockIfNecessary()
1328 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; }