Searched refs:nodeBeforeContext (Results 1 – 1 of 1) sorted by relevance
657 static bool findNodesSurroundingContext(Document* document, RefPtr<Node>& nodeBeforeContext, RefPtr… in findNodesSurroundingContext() argument661 if (!nodeBeforeContext) in findNodesSurroundingContext()662 nodeBeforeContext = node; in findNodesSurroundingContext()672 static void trimFragment(DocumentFragment* fragment, Node* nodeBeforeContext, Node* nodeAfterContex… in trimFragment() argument676 if (nodeBeforeContext->isDescendantOf(node.get())) { in trimFragment()683 if (nodeBeforeContext == node) in trimFragment()714 RefPtr<Node> nodeBeforeContext; in createFragmentFromMarkupWithContext() local716 if (!findNodesSurroundingContext(taggedDocument.get(), nodeBeforeContext, nodeAfterContext)) in createFragmentFromMarkupWithContext()720 positionAfterNode(nodeBeforeContext.get()).parentAnchoredEquivalent(), in createFragmentFromMarkupWithContext()735 trimFragment(fragment.get(), nodeBeforeContext.get(), nodeAfterContext.get()); in createFragmentFromMarkupWithContext()