Home
last modified time | relevance | path

Searched refs:containingBlock (Results 1 – 25 of 43) sorted by relevance

12

/external/webkit/Source/WebCore/rendering/
DRenderBox.cpp621 RenderBlock* b = containingBlock(); in scroll()
651 RenderBlock* b = containingBlock(); in logicalScroll()
1168 RenderBlock* cb = containingBlock(); in containingBlockLogicalWidthForContent()
1176 RenderBlock* cb = containingBlock(); in perpendicularContainingBlockLogicalHeight()
1577 RenderBlock* cb = containingBlock(); in computeLogicalWidth()
1737 void RenderBox::computeInlineDirectionMargins(RenderBlock* containingBlock, int containerWidth, int… in computeInlineDirectionMargins() argument
1739 const RenderStyle* containingBlockStyle = containingBlock->style(); in computeInlineDirectionMargins()
1745 …|| (!marginStartLength.isAuto() && !marginEndLength.isAuto() && containingBlock->style()->textAlig… in computeInlineDirectionMargins()
1746 containingBlock->setMarginStartForChild(this, max(0, (containerWidth - childWidth) / 2)); in computeInlineDirectionMargins()
1747containingBlock->setMarginEndForChild(this, containerWidth - childWidth - containingBlock->marginS… in computeInlineDirectionMargins()
[all …]
DRenderInline.cpp63 if (RenderBlock* cb = containingBlock()) { in destroy()
64 if (RenderBlock* cbCb = cb->containingBlock()) in destroy()
370 RenderBlock* block = containingBlock(); in splitFlow()
380 block = block->containingBlock(); in splitFlow()
482 tx - containingBlock()->x() + box->x(), in absoluteRects()
483 ty - containingBlock()->y() + box->y()); in absoluteRects()
485 … continuation()->absoluteRects(rects, tx - containingBlock()->x(), ty - containingBlock()->y()); in absoluteRects()
659 return margin.calcMinValue(max(0, renderer->containingBlock()->availableLogicalWidth())); in computeMargin()
723 RenderBlock* cb = containingBlock(); in positionForPoint()
735 RenderBox* contBlock = c->isInline() ? c->containingBlock() : toRenderBlock(c); in positionForPoint()
[all …]
DRenderBoxModelObject.cpp229 RenderBlock* cb = containingBlock(); in setSelectionState()
349 if (parent() && !needsLayout() && containingBlock()) { in styleDidChange()
386 RenderBlock* cb = containingBlock(); in relativePositionOffsetX()
392 RenderBlock* cb = containingBlock(); in relativePositionOffsetX()
400 RenderBlock* containingBlock = this->containingBlock(); in relativePositionOffsetY() local
409 && (!containingBlock->style()->height().isAuto() in relativePositionOffsetY()
411 || containingBlock->stretchesToViewport())) in relativePositionOffsetY()
412 return style()->top().calcValue(containingBlock->availableHeight()); in relativePositionOffsetY()
415 && (!containingBlock->style()->height().isAuto() in relativePositionOffsetY()
417 || containingBlock->stretchesToViewport())) in relativePositionOffsetY()
[all …]
DRenderView.cpp363 RenderBlock* cb = os->containingBlock(); in selectionBounds()
369 cb = cb->containingBlock(); in selectionBounds()
444 RenderBlock* cb = os->containingBlock(); in setSelection()
450 cb = cb->containingBlock(); in setSelection()
496 RenderBlock* cb = o->containingBlock(); in setSelection()
502 cb = cb->containingBlock(); in setSelection()
DRenderBox.h259 …void computeInlineDirectionMargins(RenderBlock* containingBlock, int containerWidth, int childWidt…
262 void computeBlockDirectionMargins(RenderBlock* containingBlock);
438 …int containingBlockLogicalWidthForPositioned(const RenderBoxModelObject* containingBlock, bool che…
439 …int containingBlockLogicalHeightForPositioned(const RenderBoxModelObject* containingBlock, bool ch…
DRenderBlock.cpp220 cb = cb->containingBlock(); in styleWillChange()
1090 for (RenderBlock* cb = containingBlock(); !cb->isRenderView(); cb = cb->containingBlock()) { in isSelfCollapsingBlock()
1529 child->containingBlock()->insertPositionedObject(child); in handlePositionedChild()
1893 box = box->containingBlock(); in layoutBlockChildren()
2538 RenderBlock* cb = containingBlock(); in paintObject()
2551 … inlineRenderer->paintOutline(paintInfo.context, tx - x() + inlineRenderer->containingBlock()->x(), in paintObject()
2552 ty - y() + inlineRenderer->containingBlock()->y()); in paintObject()
2700 RenderBlock* block = flow->containingBlock(); in paintContinuationOutlines()
2701 for ( ; block && block != this; block = block->containingBlock()) { in paintContinuationOutlines()
2834 … for (RenderBlock* cb = containingBlock(); cb && !cb->isRenderView(); cb = cb->containingBlock()) in selectionGaps()
[all …]
DRenderTreeAsText.cpp247 bool adjustForTableCells = o.containingBlock()->isTableCell(); in writeRenderObject()
274 r.move(0, -toRenderTableCell(o.containingBlock())->intrinsicPaddingBefore()); in writeRenderObject()
500 if (o.containingBlock()->isTableCell()) in writeTextRun()
501 y -= toRenderTableCell(o.containingBlock())->intrinsicPaddingBefore(); in writeTextRun()
DInlineTextBox.cpp446 RenderBlock* containingBlock = renderer()->containingBlock(); in getEmphasisMarkPosition() local
447 if (!containingBlock->isRubyBase()) in getEmphasisMarkPosition()
450 if (!containingBlock->parent()->isRubyRun()) in getEmphasisMarkPosition()
453 RenderRubyText* rubyText = static_cast<RenderRubyRun*>(containingBlock->parent())->rubyText(); in getEmphasisMarkPosition()
495 …if (renderer()->containingBlock()->style()->isLeftToRightDirection() != isLeftToRightDirection()) { in paint()
1234 …bool blockIsInOppositeDirection = renderer()->containingBlock()->style()->isLeftToRightDirection()… in offsetForPosition()
DRenderLayer.cpp302 if (!m_parent || m_parent->renderer() == renderer()->containingBlock()) in updateLayerPositions()
491 RenderBlock* containingBlock; in checkContainingBlockChainForPagination() local
492 for (containingBlock = renderer->containingBlock(); in checkContainingBlockChainForPagination()
493 containingBlock && containingBlock != view && containingBlock != ancestorColumnsRenderer; in checkContainingBlockChainForPagination()
494 containingBlock = containingBlock->containingBlock()) in checkContainingBlockChainForPagination()
495 prevBlock = containingBlock; in checkContainingBlockChainForPagination()
498 if (containingBlock != ancestorColumnsRenderer) in checkContainingBlockChainForPagination()
3665 renderer()->containingBlock()->flipForWritingMode(result); in boundingBox()
DRenderImage.cpp180 if (containingBlock()) { in imageDimensionsChanged()
484 if (RenderObject* cb = isPositioned() ? container() : containingBlock()) { in computeReplacedLogicalWidth()
DInlineBox.cpp169 …childPoint = renderer()->containingBlock()->flipForWritingMode(toRenderBox(renderer()), childPoint… in paint()
DAutoTableLayout.cpp197 RenderBlock* cb = table->containingBlock(); in shouldScaleColumns()
200 cb = cb->containingBlock(); in shouldScaleColumns()
DRenderText.cpp532 RenderBlock* cb = containingBlock(); in localCaretRect()
1000 if (RenderBlock* cb = containingBlock()) in setSelectionState()
1348 RenderBlock* cb = containingBlock(); in selectionRectForRepaint()
DRenderLineBoxList.cpp155 block = renderer->containingBlock(); in rangeIntersectsRect()
DRenderFlexibleBox.cpp422 child->containingBlock()->insertPositionedObject(child); in layoutHorizontalBox()
683 child->containingBlock()->insertPositionedObject(child); in layoutVerticalBox()
DRenderObject.cpp589 RenderObject* o = isTableCell() ? containingBlock() : container(); in invalidateContainerPreferredLogicalWidths()
593 RenderObject* container = o->isTableCell() ? o->containingBlock() : o->container(); in invalidateContainerPreferredLogicalWidths()
612 RenderBlock* RenderObject::containingBlock() const in containingBlock() function in WebCore::RenderObject
636 return o->containingBlock(); in containingBlock()
DInlineFlowBox.cpp972 RenderBlock* enclosingAnonymousBlock = renderer()->containingBlock(); in paint()
976 cb = enclosingAnonymousBlock->containingBlock(); in paint()
DRenderObject.h557 RenderBlock* containingBlock() const;
DRenderTable.cpp227 RenderBlock* cb = containingBlock(); in computeLogicalWidth()
DRenderListMarker.cpp1701 containingBlock()->setSelectionState(state); in setSelectionState()
/external/webkit/Source/WebCore/rendering/svg/
DRenderSVGInlineText.cpp178 RenderBlock* containingBlock = this->containingBlock(); in positionForPoint() local
179 ASSERT(containingBlock); in positionForPoint()
183 absolutePoint.move(containingBlock->x(), containingBlock->y()); in positionForPoint()
/external/webkit/Source/WebCore/editing/
Dvisible_units.cpp514 RenderBlock *containingBlock = 0; in previousLinePosition() local
524 containingBlock = renderer->containingBlock(); in previousLinePosition()
550 containingBlock = n->renderer()->containingBlock(); in previousLinePosition()
563 FloatPoint absPos = containingBlock->localToAbsolute(FloatPoint()); in previousLinePosition()
564 if (containingBlock->hasOverflowClip()) in previousLinePosition()
565 absPos -= containingBlock->layer()->scrolledContentOffset(); in previousLinePosition()
625 RenderBlock *containingBlock = 0; in nextLinePosition() local
635 containingBlock = renderer->containingBlock(); in nextLinePosition()
658 containingBlock = n->renderer()->containingBlock(); in nextLinePosition()
670 FloatPoint absPos = containingBlock->localToAbsolute(FloatPoint()); in nextLinePosition()
[all …]
/external/webkit/Source/WebCore/page/
DSpatialNavigation.cpp617 …rstCandidate.visibleNode->renderer()->containingBlock() != secondCandidate.visibleNode->renderer()… in areElementsOnSameLine()
/external/webkit/Source/WebCore/editing/mac/
DEditorMac.mm170 renderer = renderer->containingBlock();
/external/webkit/Source/WebCore/dom/
DPosition.cpp1011 RenderBlock* container = renderer->containingBlock(); in searchAheadForBetterMatch()

12