Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DShapeOutsideInfo.cpp58 void ShapeOutsideInfo::updateDeltasForContainingBlockLine(const RenderBlockFlow* containingBlock, c… in updateDeltasForContainingBlockLine() argument
60 …LayoutUnit shapeTop = containingBlock->logicalTopForFloat(floatingObject) + std::max(LayoutUnit(),… in updateDeltasForContainingBlockLine()
68 LayoutUnit floatMarginBoxWidth = containingBlock->logicalWidthForFloat(floatingObject); in updateDeltasForContainingBlockLine()
73 …LayoutUnit rawLeftMarginBoxDelta = segments.first().logicalLeft + containingBlock->marginStartForC… in updateDeltasForContainingBlockLine()
76 …nBoxDelta = segments.last().logicalRight - containingBlock->logicalWidthForChild(m_renderer) - con… in updateDeltasForContainingBlockLine()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderFullScreen.cpp124 RenderBlock* containingBlock = object->containingBlock(); in wrapRenderer() local
125 ASSERT(containingBlock); in wrapRenderer()
128 containingBlock->deleteLineBoxTree(); in wrapRenderer()
137 containingBlock->setNeedsLayoutAndPrefWidthsRecalc(); in wrapRenderer()
DRenderVTTCue.cpp77 RenderBlock* parentBlock = containingBlock(); in initializeLayoutParameters()
138 return !containingBlock()->absoluteBoundingBoxRect().contains(absoluteContentBox()); in isOutside()
165 LayoutUnit parentHeight = containingBlock()->height(); in shouldSwitchDirection()
174 LayoutUnit parentWidth = containingBlock()->width(); in shouldSwitchDirection()
249 IntRect containerRect = containingBlock()->absoluteBoundingBoxRect(); in repositionCueSnapToLinesSet()
DRenderReplaced.cpp222 RenderBlock* containingBlock = replaced->containingBlock(); in firstContainingBlockWithLogicalWidth() local
223 if (!containingBlock) in firstContainingBlockWithLogicalWidth()
226 …for (; !containingBlock->isRenderView() && !containingBlock->isBody(); containingBlock = containin… in firstContainingBlockWithLogicalWidth()
227 if (containingBlock->style()->logicalWidth().isSpecified()) in firstContainingBlockWithLogicalWidth()
228 return containingBlock; in firstContainingBlockWithLogicalWidth()
423 logicalWidth = containingBlock()->availableLogicalWidth(); in computeReplacedLogicalWidth()
DRenderBox.cpp126 const RenderBlock* currentBox = containingBlock(); in borderBoxRectInRegion()
133 currentBox = currentBox->containingBlock(); in borderBoxRectInRegion()
1389 … if (childStyle->position() != StaticPosition && childBox->containingBlock() != childBox->parent()) in isCandidateForOpaquenessTest()
1841 RenderBlock* cb = containingBlock(); in containingBlockLogicalWidthForContent()
1850 RenderBlock* cb = containingBlock(); in containingBlockLogicalHeightForContent()
1859 RenderBlock* cb = containingBlock(); in containingBlockLogicalWidthForContentInRegion()
1872 RenderBlock* cb = containingBlock(); in containingBlockAvailableLineWidthInRegion()
1888 RenderBlock* cb = containingBlock(); in perpendicularContainingBlockLogicalHeight()
1898 …LayoutUnit fillAvailableExtent = containingBlock()->availableLogicalHeight(ExcludeMarginBorderPadd… in perpendicularContainingBlockLogicalHeight()
2303 RenderBlock* cb = containingBlock(); in computeLogicalWidthInRegion()
[all …]
DTextAutosizer.cpp151 …ontainer = layoutRoot->isRenderBlock() ? toRenderBlock(layoutRoot) : layoutRoot->containingBlock(); in processSubtree()
153 container = container->containingBlock(); in processSubtree()
157 cluster = cluster->containingBlock(); in processSubtree()
422 … || renderer->containingBlock()->isHorizontalWritingMode() != renderer->isHorizontalWritingMode() in isIndependentDescendant()
516 for (; container; container = container->containingBlock()) { in contentHeightIsConstrained()
629 RenderBlock* containingBlock = firstNode->containingBlock(); in findDeepestBlockContainingAllText() local
630 ASSERT(containingBlock->isDescendantOf(cluster)); in findDeepestBlockContainingAllText()
632 return containingBlock; in findDeepestBlockContainingAllText()
DRenderLayer.cpp392 const RenderObject* containingBlock = renderer()->containingBlock(); in scrollsWithRespectTo() local
393 const RenderObject* otherContainingBlock = other->renderer()->containingBlock(); in scrollsWithRespectTo()
413 …const bool isRootFixedPos = position == FixedPosition && containingBlock->enclosingLayer() == root… in scrollsWithRespectTo()
421 if (containingBlock == otherContainingBlock) in scrollsWithRespectTo()
427 while (containingBlock) { in scrollsWithRespectTo()
428 if (containingBlock->enclosingLayer()->scrollsOverflow()) in scrollsWithRespectTo()
430 containingBlocks.add(containingBlock); in scrollsWithRespectTo()
431 containingBlock = containingBlock->containingBlock(); in scrollsWithRespectTo()
442 otherContainingBlock = otherContainingBlock->containingBlock(); in scrollsWithRespectTo()
616 RenderBlock* containingBlock; in checkContainingBlockChainForPagination() local
[all …]
DRenderInline.cpp70 if (RenderBlock* cb = containingBlock()) { in willBeDestroyed()
71 if (RenderBlock* cbCb = cb->containingBlock()) in willBeDestroyed()
188 RenderObject* block = containingBlock()->nextSibling(); in styleDidChange()
435 RenderBlock* block = containingBlock(); in splitFlow()
447 block = block->containingBlock(); in splitFlow()
637 …continuation()->absoluteRects(rects, toLayoutPoint(accumulatedOffset - containingBlock()->location… in absoluteRects()
639 …continuation()->absoluteRects(rects, toLayoutPoint(accumulatedOffset - containingBlock()->location… in absoluteRects()
698 …return minimumValueForLength(margin, max<LayoutUnit>(0, renderer->containingBlock()->availableLogi… in computeMargin()
808 RenderBlock* cb = containingBlock(); in positionForPoint()
819 RenderBox* contBlock = c->isInline() ? c->containingBlock() : toRenderBlock(c); in positionForPoint()
[all …]
DRenderBoxModelObject.cpp85 RenderBlock* containingBlock = this->containingBlock(); in setSelectionState() local
86 if (containingBlock && !containingBlock->isRenderView()) in setSelectionState()
87 containingBlock->setSelectionState(state); in setSelectionState()
214 RenderBlock* cb = containingBlock(); in hasAutoHeightOrContainingBlockWithAutoHeight()
216 cb = cb->containingBlock(); in hasAutoHeightOrContainingBlockWithAutoHeight()
235 RenderBlock* containingBlock = this->containingBlock(); in relativePositionOffset() local
242 if (!style()->right().isAuto() && !containingBlock->style()->isLeftToRightDirection()) in relativePositionOffset()
243 … offset.setWidth(-valueForLength(style()->right(), containingBlock->availableWidth(), view())); in relativePositionOffset()
245 … offset.expand(valueForLength(style()->left(), containingBlock->availableWidth(), view()), 0); in relativePositionOffset()
247 … offset.expand(-valueForLength(style()->right(), containingBlock->availableWidth(), view()), 0); in relativePositionOffset()
[all …]
DRenderTableCaption.cpp38 RenderBlock* cb = containingBlock(); in containingBlockLogicalWidthForContent()
DRenderBox.h369 …void computeInlineDirectionMargins(RenderBlock* containingBlock, LayoutUnit containerWidth, Layout…
372 …void computeBlockDirectionMargins(const RenderBlock* containingBlock, LayoutUnit& marginBefore, La…
373 void computeAndSetBlockDirectionMargins(const RenderBlock* containingBlock);
426 …h logicalWidth, LayoutUnit availableLogicalWidth, const RenderBlock* containingBlock, RenderRegion…
438 …static bool percentageLogicalHeightIsResolvableFromBlock(const RenderBlock* containingBlock, bool …
658 bool skipContainingBlockForPercentHeightCalculation(const RenderBox* containingBlock) const;
660 …LayoutUnit containingBlockLogicalWidthForPositioned(const RenderBoxModelObject* containingBlock, R…
661 …ontainingBlockLogicalHeightForPositioned(const RenderBoxModelObject* containingBlock, bool checkFo…
DInlineBox.cpp92 m_renderer->containingBlock()->showLineTreeAndMark(this, "*"); in showLineTreeForThis()
201 …childPoint = renderer()->containingBlock()->flipForWritingModeForChild(toRenderBox(renderer()), ch… in paint()
213 …childPoint = renderer()->containingBlock()->flipForWritingModeForChild(toRenderBox(renderer()), ch… in nodeAtPoint()
DRenderImage.cpp224 if (!containingBlock()) in imageDimensionsChanged()
616 … RenderObject* containingBlock = isOutOfFlowPositioned() ? container() : this->containingBlock(); in computeIntrinsicRatioInformation() local
617 if (containingBlock->isBox()) { in computeIntrinsicRatioInformation()
618 RenderBox* box = toRenderBox(containingBlock); in computeIntrinsicRatioInformation()
DRenderView.cpp683 RenderBlock* cb = os->containingBlock(); in selectionBounds()
689 cb = cb->containingBlock(); in selectionBounds()
726 …for (RenderBlock* block = o->containingBlock(); block && !block->isRenderView(); block = block->co… in repaintSelection()
811 RenderBlock* cb = os->containingBlock(); in setSelection()
817 cb = cb->containingBlock(); in setSelection()
866 RenderBlock* cb = o->containingBlock(); in setSelection()
872 cb = cb->containingBlock(); in setSelection()
DRenderText.cpp555 …|| box->renderer()->containingBlock()->style()->direction() == box->direction()) // FIXME: left on… in createPositionWithAffinityForBoxAfterAdjustingOffsetForBiDi()
585 || box->renderer()->containingBlock()->style()->direction() == box->direction()) in createPositionWithAffinityForBoxAfterAdjustingOffsetForBiDi()
684 RenderBlock* cb = containingBlock(); in localCaretRect()
1190 RenderBlock* containingBlock = this->containingBlock(); in setSelectionState() local
1191 if (containingBlock && !containingBlock->isRenderView()) in setSelectionState()
1192 containingBlock->setSelectionState(state); in setSelectionState()
1547 RenderObject* rendererToRepaint = containingBlock(); in clippedOverflowRectForRepaint()
1567 RenderBlock* cb = containingBlock(); in selectionRectForRepaint()
DRenderBlock.cpp267 cb = cb->containingBlock(); in styleWillChange()
1130 RenderObject* containingBlockIgnoringAnonymous = containingBlock(); in removeChild()
1132 … containingBlockIgnoringAnonymous = containingBlockIgnoringAnonymous->containingBlock(); in removeChild()
1173 for (RenderBlock* cb = containingBlock(); !cb->isRenderView(); cb = cb->containingBlock()) { in isSelfCollapsingBlock()
1360 RenderBlock* containerBlock = currentBlock->containingBlock(); in logicalOffsetFromShapeAncestorContainer()
2265 RenderBlock* cb = containingBlock(); in paintObject()
2281 …tOutline(paintInfo, paintOffset - locationOffset() + inlineRenderer->containingBlock()->location()… in paintObject()
2363 RenderBlock* block = flow->containingBlock(); in paintContinuationOutlines()
2364 for ( ; block && block != this; block = block->containingBlock()) in paintContinuationOutlines()
2494 … for (RenderBlock* cb = containingBlock(); cb && !cb->isRenderView(); cb = cb->containingBlock()) in selectionGaps()
[all …]
DRenderFlowThread.cpp454 const RenderBlock* objContainingBlock = boxModelObject.containingBlock(); in adjustedPositionRelativeToOffsetParent()
464 objContainingBlock = objContainingBlock->containingBlock(); in adjustedPositionRelativeToOffsetParent()
479 if (boxModelObject.containingBlock()) in adjustedPositionRelativeToOffsetParent()
480 top = boxModelObject.containingBlock()->offsetFromLogicalTopOfFirstPage(); in adjustedPositionRelativeToOffsetParent()
1119 RenderBlock* containerBlock = currentBlock->containingBlock(); in offsetFromLogicalTopOfFirstRegion()
DRenderTreeAsText.cpp186 RenderBlock* cb = o.containingBlock(); in writeRenderObject()
214 r.move(0, -toRenderTableCell(o.containingBlock())->intrinsicPaddingBefore()); in writeRenderObject()
414 if (o.containingBlock()->isTableCell()) in writeTextRun()
415 y -= toRenderTableCell(o.containingBlock())->intrinsicPaddingBefore(); in writeTextRun()
DRenderLayerModelObject.cpp149 if (parent() && !needsLayout() && containingBlock()) { in styleDidChange()
DRenderObject.cpp620 curr = curr->containingBlock(); in locateFlowThreadContainingBlock()
757 RenderObject* o = isTableCell() ? containingBlock() : container(); in invalidateContainerPreferredLogicalWidths()
761 RenderObject* container = o->isTableCell() ? o->containingBlock() : o->container(); in invalidateContainerPreferredLogicalWidths()
802 RenderBlock* RenderObject::containingBlock() const in containingBlock() function in WebCore::RenderObject
823 o = o->containingBlock(); in containingBlock()
831 o = o->containingBlock(); in containingBlock()
1673 if (containingBlock()) in showLineTreeForThis()
1674 containingBlock()->showLineTreeAndMark(0, 0, 0, 0, this); in showLineTreeForThis()
3299 RenderBlock* containingBlock = this->containingBlock(); in canUpdateSelectionOnRootLineBoxes() local
3300 return containingBlock ? !containingBlock->needsLayout() : true; in canUpdateSelectionOnRootLineBoxes()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGInlineText.cpp164 RenderBlock* containingBlock = this->containingBlock(); in positionForPoint() local
165 ASSERT(containingBlock); in positionForPoint()
169 absolutePoint.moveBy(containingBlock->location()); in positionForPoint()
DRenderSVGRoot.cpp149 …Width(SVGSVGElement::IgnoreCSSProperties), style()->effectiveZoom(), containingBlock()->availableL… in computeReplacedLogicalWidth()
174 RenderBlock* cb = containingBlock(); in computeReplacedLogicalHeight()
177 cb = cb->containingBlock(); in computeReplacedLogicalHeight()
183 …return resolveLengthAttributeForSVG(height, style()->effectiveZoom(), containingBlock()->available… in computeReplacedLogicalHeight()
/external/chromium_org/third_party/WebKit/Source/web/
DFindInPageCoordinates.cpp56 const RenderBlock* container = renderer->containingBlock(); in enclosingScrollableAncestor()
58 container = container->containingBlock(); in enclosingScrollableAncestor()
/external/chromium_org/third_party/WebKit/Source/core/page/
DTouchDisambiguation.cpp114 …for (RenderBlock* container = renderer->containingBlock(); container; container = container->conta… in findGoodTouchTargets()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DVisiblePosition.cpp694 RenderObject* containingBlock = renderer->containingBlock(); in lineDirectionPointForBlockDirectionNavigation() local
695 if (!containingBlock) in lineDirectionPointForBlockDirectionNavigation()
696containingBlock = renderer; // Just use ourselves to determine the writing mode if we have no cont… in lineDirectionPointForBlockDirectionNavigation()
697 return containingBlock->isHorizontalWritingMode() ? caretPoint.x() : caretPoint.y(); in lineDirectionPointForBlockDirectionNavigation()

12