Home
last modified time | relevance | path

Searched refs:upstreamStart (Results 1 – 2 of 2) sorted by relevance

/external/webkit/Source/WebCore/editing/
DCompositeEditCommand.cpp713 Position upstreamStart = visibleParagraphStart.deepEquivalent().upstream(); in moveParagraphContentsToNewBlockIfNecessary() local
718 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()
/external/webkit/Source/WebCore/
DChangeLog-2008-08-1066727 Removed "|| !upstreamStart.node()->isDescendantOf(root)" from the if condition, since
66728 a) upstreamStart will never be outside the root editable element, since in that case
66729 there would be no block inside the editable root to Format, and b) if upstreamStart.node()