Searched refs:upstreamStart (Results 1 – 2 of 2) sorted by relevance
713 Position upstreamStart = visibleParagraphStart.deepEquivalent().upstream(); in moveParagraphContentsToNewBlockIfNecessary() local718 if (comparePositions(pos, upstreamStart) < 0) in moveParagraphContentsToNewBlockIfNecessary()722 if (isBlock(upstreamStart.deprecatedNode())) { in moveParagraphContentsToNewBlockIfNecessary()725 if (upstreamStart.deprecatedNode() == editableRootForPosition(upstreamStart)) { in moveParagraphContentsToNewBlockIfNecessary()728 …if (!Position::hasRenderedNonAnonymousDescendantsWithHeight(upstreamStart.deprecatedNode()->render… in moveParagraphContentsToNewBlockIfNecessary()729 return insertNewDefaultParagraphElementAt(upstreamStart); in moveParagraphContentsToNewBlockIfNecessary()731 if (!upstreamEnd.deprecatedNode()->isDescendantOf(upstreamStart.deprecatedNode())) { in moveParagraphContentsToNewBlockIfNecessary()736 } else if (enclosingBlock(upstreamEnd.deprecatedNode()) != upstreamStart.deprecatedNode()) { in moveParagraphContentsToNewBlockIfNecessary()739 …ASSERT(upstreamStart.deprecatedNode()->isDescendantOf(enclosingBlock(upstreamEnd.deprecatedNode())… in moveParagraphContentsToNewBlockIfNecessary()747 RefPtr<Node> newBlock = insertNewDefaultParagraphElementAt(upstreamStart); in moveParagraphContentsToNewBlockIfNecessary()
66727 Removed "|| !upstreamStart.node()->isDescendantOf(root)" from the if condition, since66728 a) upstreamStart will never be outside the root editable element, since in that case66729 there would be no block inside the editable root to Format, and b) if upstreamStart.node()