Home
last modified time | relevance | path

Searched refs:rootBox (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderRubyRun.cpp244 RootInlineBox* rootBox = rt->lastRootBox(); in layout() local
245 if (rootBox) { in layout()
248 lastLineRubyTextBottom = rootBox->logicalBottomLayoutOverflow(); in layout()
254 RootInlineBox* rootBox = rb->firstRootBox(); in layout() local
255 if (rootBox) in layout()
256 firstLineTop = rootBox->logicalTopLayoutOverflow(); in layout()
264 RootInlineBox* rootBox = rb->lastRootBox(); in layout() local
265 if (rootBox) in layout()
266 lastLineBottom = rootBox->logicalBottomLayoutOverflow(); in layout()
DRenderInline.cpp563 RootInlineBox* rootBox = currBox->inlineBoxWrapper()->root(); in generateCulledLineBoxRects() local
564 …lTop = rootBox->logicalTop() + (rootBox->renderer()->style(rootBox->isFirstLineStyle())->font().fo… in generateCulledLineBoxRects()
565 … int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height(); in generateCulledLineBoxRects()
578 RootInlineBox* rootBox = childLine->root(); in generateCulledLineBoxRects() local
579 …lTop = rootBox->logicalTop() + (rootBox->renderer()->style(rootBox->isFirstLineStyle())->font().fo… in generateCulledLineBoxRects()
580 … int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height(); in generateCulledLineBoxRects()
596 RootInlineBox* rootBox = childText->root(); in generateCulledLineBoxRects() local
597 …lTop = rootBox->logicalTop() + (rootBox->renderer()->style(rootBox->isFirstLineStyle())->font().fo… in generateCulledLineBoxRects()
598 … int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height(); in generateCulledLineBoxRects()
DRenderReplaced.cpp525 RootInlineBox* rootBox = box ? box->root() : 0; in positionForPoint() local
527 LayoutUnit top = rootBox ? rootBox->selectionTop() : logicalTop(); in positionForPoint()
528 LayoutUnit bottom = rootBox ? rootBox->selectionBottom() : logicalBottom(); in positionForPoint()
DInlineFlowBox.cpp501 void InlineFlowBox::computeLogicalBoxHeights(RootInlineBox* rootBox, LayoutUnit& maxPositionTop, La… in computeLogicalBoxHeights() argument
529rootBox->ascentAndDescentForBox(rootBox, textBoxDataMap, ascent, descent, affectsAscent, affectsDe… in computeLogicalBoxHeights()
557 curr->setLogicalTop(rootBox->verticalPositionForBox(curr, verticalPositionCache)); in computeLogicalBoxHeights()
561rootBox->ascentAndDescentForBox(curr, textBoxDataMap, ascent, descent, affectsAscent, affectsDesce… in computeLogicalBoxHeights()
592 …inlineFlowBox->computeLogicalBoxHeights(rootBox, maxPositionTop, maxPositionBottom, maxAscent, max… in computeLogicalBoxHeights()
1043 RootInlineBox* rootBox = root(); in nodeAtPoint() local
1046 LayoutUnit bottom = min(rootBox->lineBottom(), top + logicalHeight); in nodeAtPoint()
1047 top = max(rootBox->lineTop(), top); in nodeAtPoint()
1211 const RootInlineBox* rootBox = root(); in constrainToLineTopAndBottomIfNeeded() local
1214 LayoutUnit bottom = min(rootBox->lineBottom(), logicalTop + logicalHeight); in constrainToLineTopAndBottomIfNeeded()
[all …]
DRenderListItem.cpp346 RootInlineBox* rootBox = m_marker->inlineBoxWrapper()->root(); in positionListMarker() local
347 LayoutUnit lineTop = rootBox->lineTop(); in positionListMarker()
348 LayoutUnit lineBottom = rootBox->lineBottom(); in positionListMarker()
DRenderView.cpp542 RenderBox* rootBox = rootRenderer->isBox() ? toRenderBox(rootRenderer) : 0; in paintBoxDecorations() local
543 …rootFillsViewport = rootBox && !rootBox->x() && !rootBox->y() && rootBox->width() >= width() && ro… in paintBoxDecorations()
DRenderText.cpp628 RootInlineBox* rootBox = box->root(); in positionForPoint() local
629 LayoutUnit top = min(rootBox->selectionTop(), rootBox->lineTop()); in positionForPoint()
631 LayoutUnit bottom = rootBox->selectionBottom(); in positionForPoint()
632 if (rootBox->nextRootBox()) in positionForPoint()
633 bottom = min(bottom, rootBox->nextRootBox()->lineTop()); in positionForPoint()
DRenderBlock.cpp891 RootInlineBox* rootBox = createRootInlineBox(); in createAndAppendRootInlineBox() local
892 m_lineBoxes.appendLineBox(rootBox); in createAndAppendRootInlineBox()
894 if (UNLIKELY(AXObjectCache::accessibilityEnabled()) && m_lineBoxes.firstLineBox() == rootBox) { in createAndAppendRootInlineBox()
899 return rootBox; in createAndAppendRootInlineBox()
5573 bool RenderBlock::lineWidthForPaginatedLineChanged(RootInlineBox* rootBox, LayoutUnit lineDelta, Re… in lineWidthForPaginatedLineChanged() argument
5578 RenderRegion* currentRegion = regionAtBlockOffset(rootBox->lineTopWithLeading() + lineDelta); in lineWidthForPaginatedLineChanged()
5580 if (rootBox->containingRegion() == currentRegion) in lineWidthForPaginatedLineChanged()
5582 return rootBox->paginatedLineWidth() != availableLogicalWidthForContent(currentRegion); in lineWidthForPaginatedLineChanged()
DRenderBox.cpp4270 RootInlineBox* rootBox = box->root(); in localCaretRect() local
4271 LayoutUnit top = rootBox->lineTop(); in localCaretRect()
4273 rect.setHeight(rootBox->lineBottom() - top); in localCaretRect()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DVisibleUnits.cpp228 RootInlineBox* previousRoot = renderedPosition.rootBox(); in logicallyPreviousBox()
269 RootInlineBox* nextRoot = renderedPosition.rootBox(); in logicallyNextBox()
720 RootInlineBox* rootBox = RenderedPosition(c).rootBox(); in startPositionForLine() local
721 if (!rootBox) { in startPositionForLine()
734 startNode = rootBox->getLogicalStartBoxWithNode(startBox); in startPositionForLine()
740 startBox = rootBox->firstLeafChild(); in startPositionForLine()
793 RootInlineBox* rootBox = RenderedPosition(c).rootBox(); in endPositionForLine() local
794 if (!rootBox) { in endPositionForLine()
806 endNode = rootBox->getLogicalEndBoxWithNode(endBox); in endPositionForLine()
812 endBox = rootBox->lastLeafChild(); in endPositionForLine()
[all …]
DRenderedPosition.h52 RootInlineBox* rootBox() { return m_inlineBox ? m_inlineBox->root() : 0; } in rootBox() function
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGText.cpp469 RootInlineBox* rootBox = firstRootBox(); in positionForPoint() local
470 if (!rootBox) in positionForPoint()
473 ASSERT(!rootBox->nextRootBox()); in positionForPoint()
476 … InlineBox* closestBox = toSVGRootInlineBox(rootBox)->closestLeafChildForPosition(pointInContents); in positionForPoint()