Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/paint/
DViewPainter.cpp32 static inline bool rendererObscuresBackground(RenderBox* rootBox) in rendererObscuresBackground() argument
34 ASSERT(rootBox); in rendererObscuresBackground()
35 RenderStyle* style = rootBox->style(); in rendererObscuresBackground()
42 if (rootBox->compositingState() == PaintsIntoOwnBacking) in rendererObscuresBackground()
45 const RenderObject* rootRenderer = rootBox->rendererForRootBackground(); in rendererObscuresBackground()
62 if (RenderBox* rootBox = documentElement ? toRenderBox(documentElement->renderer()) : 0) in paintBoxDecorationBackground() local
63 …shouldPaintBackground = !rootFillsViewportBackground(rootBox) || !rendererObscuresBackground(rootB… in paintBoxDecorationBackground()
86 bool ViewPainter::rootFillsViewportBackground(RenderBox* rootBox) const in rootFillsViewportBackground()
88 ASSERT(rootBox); in rootFillsViewportBackground()
90 if (!rootBox->isSVG()) in rootFillsViewportBackground()
[all …]
DViewPainter.h23 bool rootFillsViewportBackground(RenderBox* rootBox) const;
DInlineFlowBoxPainter.cpp331 const RootInlineBox& rootBox = m_inlineFlowBox.root(); in roundedFrameRectClampedToLineTopAndBottomIfNeeded() local
334 LayoutUnit bottom = std::min(rootBox.lineBottom(), logicalTop + logicalHeight); in roundedFrameRectClampedToLineTopAndBottomIfNeeded()
335 logicalTop = std::max(rootBox.lineTop(), logicalTop); in roundedFrameRectClampedToLineTopAndBottomIfNeeded()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderRubyRun.cpp225 RootInlineBox* rootBox = rt->lastRootBox(); in layout() local
226 if (rootBox) { in layout()
229 lastLineRubyTextBottom = rootBox->logicalBottomLayoutOverflow(); in layout()
235 RootInlineBox* rootBox = rb->firstRootBox(); in layout() local
236 if (rootBox) in layout()
237 firstLineTop = rootBox->logicalTopLayoutOverflow(); in layout()
245 RootInlineBox* rootBox = rb->lastRootBox(); in layout() local
246 if (rootBox) in layout()
247 lastLineBottom = rootBox->logicalBottomLayoutOverflow(); in layout()
DRenderInline.cpp592 RootInlineBox& rootBox = currBox->inlineBoxWrapper()->root(); in generateCulledLineBoxRects() local
593 …calTop = rootBox.logicalTop() + (rootBox.renderer().style(rootBox.isFirstLineStyle())->font().font… in generateCulledLineBoxRects()
594 … int logicalHeight = container->style(rootBox.isFirstLineStyle())->font().fontMetrics().height(); in generateCulledLineBoxRects()
607 RootInlineBox& rootBox = childLine->root(); in generateCulledLineBoxRects() local
608 …calTop = rootBox.logicalTop() + (rootBox.renderer().style(rootBox.isFirstLineStyle())->font().font… in generateCulledLineBoxRects()
609 … int logicalHeight = container->style(rootBox.isFirstLineStyle())->font().fontMetrics().height(); in generateCulledLineBoxRects()
625 RootInlineBox& rootBox = childText->root(); in generateCulledLineBoxRects() local
626 …calTop = rootBox.logicalTop() + (rootBox.renderer().style(rootBox.isFirstLineStyle())->font().font… in generateCulledLineBoxRects()
627 … int logicalHeight = container->style(rootBox.isFirstLineStyle())->font().fontMetrics().height(); in generateCulledLineBoxRects()
DRenderReplaced.cpp475 RootInlineBox* rootBox = box ? &box->root() : 0; in positionForPoint() local
477 LayoutUnit top = rootBox ? rootBox->selectionTop() : logicalTop(); in positionForPoint()
478 LayoutUnit bottom = rootBox ? rootBox->selectionBottom() : logicalBottom(); in positionForPoint()
DInlineFlowBox.cpp513 void InlineFlowBox::computeLogicalBoxHeights(RootInlineBox* rootBox, LayoutUnit& maxPositionTop, La… in computeLogicalBoxHeights() argument
541rootBox->ascentAndDescentForBox(rootBox, textBoxDataMap, ascent, descent, affectsAscent, affectsDe… in computeLogicalBoxHeights()
569 curr->setLogicalTop(rootBox->verticalPositionForBox(curr, verticalPositionCache).toFloat()); in computeLogicalBoxHeights()
573rootBox->ascentAndDescentForBox(curr, textBoxDataMap, ascent, descent, affectsAscent, affectsDesce… in computeLogicalBoxHeights()
604 …inlineFlowBox->computeLogicalBoxHeights(rootBox, maxPositionTop, maxPositionBottom, maxAscent, max… in computeLogicalBoxHeights()
1078 RootInlineBox& rootBox = root(); in nodeAtPoint() local
1081 LayoutUnit bottom = std::min(rootBox.lineBottom(), top + logicalHeight); in nodeAtPoint()
1082 top = std::max(rootBox.lineTop(), top); in nodeAtPoint()
1118 const RootInlineBox& rootBox = root(); in constrainToLineTopAndBottomIfNeeded() local
1121 LayoutUnit bottom = std::min(rootBox.lineBottom(), logicalTop + logicalHeight); in constrainToLineTopAndBottomIfNeeded()
[all …]
DRenderText.cpp613 RootInlineBox& rootBox = box->root(); in positionForPoint() local
614 LayoutUnit top = std::min(rootBox.selectionTop(), rootBox.lineTop()); in positionForPoint()
616 LayoutUnit bottom = rootBox.selectionBottom(); in positionForPoint()
617 if (rootBox.nextRootBox()) in positionForPoint()
618 bottom = std::min(bottom, rootBox.nextRootBox()->lineTop()); in positionForPoint()
DRenderBlockFlow.cpp1793 RootInlineBox* rootBox = createRootInlineBox(); in createAndAppendRootInlineBox() local
1794 m_lineBoxes.appendLineBox(rootBox); in createAndAppendRootInlineBox()
1796 return rootBox; in createAndAppendRootInlineBox()
DRenderBox.cpp3708 RootInlineBox& rootBox = box->root(); in localCaretRect() local
3709 LayoutUnit top = rootBox.lineTop(); in localCaretRect()
3711 rect.setHeight(rootBox.lineBottom() - top); in localCaretRect()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DVisibleUnits.cpp230 RootInlineBox* previousRoot = renderedPosition.rootBox(); in logicallyPreviousBox()
271 RootInlineBox* nextRoot = renderedPosition.rootBox(); in logicallyNextBox()
711 RootInlineBox* rootBox = RenderedPosition(c).rootBox(); in startPositionForLine() local
712 if (!rootBox) { in startPositionForLine()
725 startNode = rootBox->getLogicalStartBoxWithNode(startBox); in startPositionForLine()
731 startBox = rootBox->firstLeafChild(); in startPositionForLine()
779 RootInlineBox* rootBox = RenderedPosition(c).rootBox(); in endPositionForLine() local
780 if (!rootBox) { in endPositionForLine()
792 endNode = rootBox->getLogicalEndBoxWithNode(endBox); in endPositionForLine()
798 endBox = rootBox->lastLeafChild(); in endPositionForLine()
[all …]
DRenderedPosition.h54 RootInlineBox* rootBox() { return m_inlineBox ? &m_inlineBox->root() : 0; } in rootBox() function
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGText.cpp450 RootInlineBox* rootBox = firstRootBox(); in positionForPoint() local
451 if (!rootBox) in positionForPoint()
454 ASSERT(!rootBox->nextRootBox()); in positionForPoint()
457 … InlineBox* closestBox = toSVGRootInlineBox(rootBox)->closestLeafChildForPosition(pointInContents); in positionForPoint()