/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
D | ShapeOutsideInfo.cpp | 50 bool isHorizontalWritingMode = m_renderer.containingBlock()->style()->isHorizontalWritingMode(); in setReferenceBoxLogicalSize() 129 ASSERT(m_renderer.containingBlock()); in computedShape() 130 const RenderStyle& containingBlockStyle = *m_renderer.containingBlock()->style(); in computedShape() 133 …LayoutUnit maximumValue = m_renderer.containingBlock() ? m_renderer.containingBlock()->contentWidt… in computedShape() 204 case MarginBox: return -m_renderer.marginBefore(m_renderer.containingBlock()->style()); in logicalTopOffset() 206 …case PaddingBox: return borderBeforeInWritingMode(m_renderer, m_renderer.containingBlock()->style(… in logicalTopOffset() 207 …x: return borderAndPaddingBeforeInWritingMode(m_renderer, m_renderer.containingBlock()->style()->w… in logicalTopOffset() 246 case MarginBox: return -m_renderer.marginStart(m_renderer.containingBlock()->style()); in logicalLeftOffset() 248 …gBox: return borderStartWithStyleForWritingMode(m_renderer, m_renderer.containingBlock()->style()); in logicalLeftOffset() 249 …rn borderAndPaddingStartWithStyleForWritingMode(m_renderer, m_renderer.containingBlock()->style()); in logicalLeftOffset() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderReplaced.cpp | 219 RenderBlock* containingBlock = replaced->containingBlock(); in firstContainingBlockWithLogicalWidth() local 220 if (!containingBlock) in firstContainingBlockWithLogicalWidth() 223 …for (; !containingBlock->isRenderView() && !containingBlock->isBody(); containingBlock = containin… in firstContainingBlockWithLogicalWidth() 224 if (containingBlock->style()->logicalWidth().isSpecified() in firstContainingBlockWithLogicalWidth() 225 && containingBlock->style()->logicalMinWidth().isSpecified() in firstContainingBlockWithLogicalWidth() 226 …&& (containingBlock->style()->logicalMaxWidth().isSpecified() || containingBlock->style()->logical… in firstContainingBlockWithLogicalWidth() 227 return containingBlock; in firstContainingBlockWithLogicalWidth() 409 logicalWidth = containingBlock()->availableLogicalWidth(); in computeReplacedLogicalWidth()
|
D | RenderFullScreen.cpp | 127 RenderBlock* containingBlock = object->containingBlock(); in wrapRenderer() local 128 ASSERT(containingBlock); in wrapRenderer() 131 containingBlock->deleteLineBoxTree(); in wrapRenderer() 140 containingBlock->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(); in wrapRenderer()
|
D | RenderVTTCue.cpp | 73 RenderBlock* parentBlock = containingBlock(); in initializeLayoutParameters() 135 return !containingBlock()->absoluteBoundingBoxRect().contains(absoluteContentBox()); in isOutside() 162 LayoutUnit parentHeight = containingBlock()->height(); in shouldSwitchDirection() 171 LayoutUnit parentWidth = containingBlock()->width(); in shouldSwitchDirection() 246 IntRect containerRect = containingBlock()->absoluteBoundingBoxRect(); in repositionCueSnapToLinesSet()
|
D | RenderBox.cpp | 1289 … if (childStyle->position() != StaticPosition && childBox->containingBlock() != childBox->parent()) in isCandidateForOpaquenessTest() 1770 RenderBlock* cb = containingBlock(); in containingBlockLogicalWidthForContent() 1779 RenderBlock* cb = containingBlock(); in containingBlockLogicalHeightForContent() 1785 RenderBlock* cb = containingBlock(); in containingBlockAvailableLineWidth() 1796 RenderBlock* cb = containingBlock(); in perpendicularContainingBlockLogicalHeight() 1806 …LayoutUnit fillAvailableExtent = containingBlock()->availableLogicalHeight(ExcludeMarginBorderPadd… in perpendicularContainingBlockLogicalHeight() 2205 RenderBlock* cb = containingBlock(); in computeLogicalWidth() 2387 if (isHorizontalWritingMode() != containingBlock()->isHorizontalWritingMode()) in sizesLogicalWidthToFitContent() 2399 …arginsForDirection(MarginDirection flowDirection, const RenderBlock* containingBlock, LayoutUnit c… in computeMarginsForDirection() argument 2418 if (containingBlock->isFlexibleBox()) { in computeMarginsForDirection() [all …]
|
D | TextAutosizer.cpp | 220 …ontainer = layoutRoot->isRenderBlock() ? toRenderBlock(layoutRoot) : layoutRoot->containingBlock(); in processSubtree() 222 container = container->containingBlock(); in processSubtree() 226 cluster = cluster->containingBlock(); in processSubtree() 584 RenderBlock* containingBlock = renderer->containingBlock(); in isIndependentDescendant() local 592 …|| (containingBlock && containingBlock->isHorizontalWritingMode() != renderer->isHorizontalWriting… in isIndependentDescendant() 686 for (; container; container = container->containingBlock()) { in contentHeightIsConstrained() 793 RenderBlock* containingBlock = firstNode->containingBlock(); in findDeepestBlockContainingAllText() local 794 ASSERT(containingBlock->isDescendantOf(cluster)); in findDeepestBlockContainingAllText() 796 return containingBlock; in findDeepestBlockContainingAllText()
|
D | FastTextAutosizer.cpp | 169 RenderBlock* containingBlock = renderer->containingBlock(); in isIndependentDescendant() local 177 …|| (containingBlock && containingBlock->isHorizontalWritingMode() != renderer->isHorizontalWriting… in isIndependentDescendant() 225 for (; block; block = block->containingBlock()) { in blockHeightConstrained() 398 ASSERT(table->containingBlock()); in inflateAutoTable() 831 if (!block->containingBlock()) in widthFromBlock() 845 if (float containerWidth = block->containingBlock()->contentLogicalWidth().toFloat()) { in widthFromBlock() 852 } while ((block = block->containingBlock())); in widthFromBlock() 916 const RenderBlock* containingBlock = firstNode->containingBlock(); in deepestBlockContainingAllText() local 917 if (!containingBlock) in deepestBlockContainingAllText() 920 ASSERT(containingBlock->isDescendantOf(root)); in deepestBlockContainingAllText() [all …]
|
D | RenderLayer.cpp | 345 const RenderObject* containingBlock = renderer()->containingBlock(); in scrollsWithRespectTo() local 346 const RenderObject* otherContainingBlock = other->renderer()->containingBlock(); in scrollsWithRespectTo() 366 …const bool isRootFixedPos = position == FixedPosition && containingBlock->enclosingLayer() == root… in scrollsWithRespectTo() 375 if (containingBlock->enclosingLayer() == otherContainingBlock->enclosingLayer()) in scrollsWithRespectTo() 381 while (containingBlock) { in scrollsWithRespectTo() 382 containingBlocks.add(containingBlock->enclosingLayer()); in scrollsWithRespectTo() 383 if (containingBlock->enclosingLayer()->scrollsOverflow()) in scrollsWithRespectTo() 386 if (containingBlock->enclosingLayer() == other) { in scrollsWithRespectTo() 391 containingBlock = containingBlock->containingBlock(); in scrollsWithRespectTo() 402 otherContainingBlock = otherContainingBlock->containingBlock(); in scrollsWithRespectTo() [all …]
|
D | RenderInline.cpp | 69 if (RenderBlock* cb = containingBlock()) { in willBeDestroyed() 70 if (RenderBlock* cbCb = cb->containingBlock()) in willBeDestroyed() 201 RenderObject* block = containingBlock()->nextSibling(); in styleDidChange() 446 RenderBlock* block = containingBlock(); in splitFlow() 458 block = block->containingBlock(); in splitFlow() 648 …continuation()->absoluteRects(rects, toLayoutPoint(accumulatedOffset - containingBlock()->location… in absoluteRects() 650 …continuation()->absoluteRects(rects, toLayoutPoint(accumulatedOffset - containingBlock()->location… in absoluteRects() 709 …return minimumValueForLength(margin, max<LayoutUnit>(0, renderer->containingBlock()->availableLogi… in computeMargin() 817 RenderBlock* cb = containingBlock(); in positionForPoint() 828 RenderBox* contBlock = c->isInline() ? c->containingBlock() : toRenderBlock(c); in positionForPoint() [all …]
|
D | RenderFlowThread.cpp | 225 const RenderBlock* objContainingBlock = boxModelObject.containingBlock(); in adjustedPositionRelativeToOffsetParent() 235 objContainingBlock = objContainingBlock->containingBlock(); in adjustedPositionRelativeToOffsetParent() 244 if (boxModelObject.containingBlock()) in adjustedPositionRelativeToOffsetParent() 245 top = boxModelObject.containingBlock()->offsetFromLogicalTopOfFirstPage(); in adjustedPositionRelativeToOffsetParent() 487 RenderBlock* containerBlock = currentBlock->containingBlock(); in offsetFromLogicalTopOfFirstRegion()
|
D | RenderBoxModelObject.cpp | 85 RenderBlock* containingBlock = this->containingBlock(); in setSelectionState() local 86 if (containingBlock && !containingBlock->isRenderView()) in setSelectionState() 87 containingBlock->setSelectionState(state); in setSelectionState() 179 RenderBlock* cb = containingBlock(); in hasAutoHeightOrContainingBlockWithAutoHeight() 181 cb = cb->containingBlock(); in hasAutoHeightOrContainingBlockWithAutoHeight() 205 RenderBlock* containingBlock = this->containingBlock(); in relativePositionOffset() local 212 if (!style()->right().isAuto() && !containingBlock->style()->isLeftToRightDirection()) in relativePositionOffset() 213 offset.setWidth(-valueForLength(style()->right(), containingBlock->availableWidth())); in relativePositionOffset() 215 offset.expand(valueForLength(style()->left(), containingBlock->availableWidth()), 0); in relativePositionOffset() 217 offset.expand(-valueForLength(style()->right(), containingBlock->availableWidth()), 0); in relativePositionOffset() [all …]
|
D | RenderView.cpp | 569 RenderBlock* cb = os->containingBlock(); in selectionBounds() 575 cb = cb->containingBlock(); in selectionBounds() 612 …for (RenderBlock* block = o->containingBlock(); block && !block->isRenderView(); block = block->co… in repaintSelection() 684 RenderBlock* cb = os->containingBlock(); in setSelection() 690 cb = cb->containingBlock(); in setSelection() 739 RenderBlock* cb = o->containingBlock(); in setSelection() 745 cb = cb->containingBlock(); in setSelection()
|
D | RenderTableCaption.cpp | 38 RenderBlock* cb = containingBlock(); in containingBlockLogicalWidthForContent()
|
D | InlineBox.cpp | 90 renderer().containingBlock()->showLineTreeAndMark(this, "*"); in showLineTreeForThis() 202 …childPoint = renderer().containingBlock()->flipForWritingModeForChild(&toRenderBox(renderer()), ch… in paint() 214 …childPoint = renderer().containingBlock()->flipForWritingModeForChild(&toRenderBox(renderer()), ch… in nodeAtPoint()
|
D | RenderImage.cpp | 204 if (!containingBlock()) in repaintOrMarkForLayout() 597 … RenderObject* containingBlock = isOutOfFlowPositioned() ? container() : this->containingBlock(); in computeIntrinsicRatioInformation() local 598 if (containingBlock->isBox()) { in computeIntrinsicRatioInformation() 599 RenderBox* box = toRenderBox(containingBlock); in computeIntrinsicRatioInformation()
|
D | RenderBox.h | 391 …MarginsForDirection(MarginDirection forDirection, const RenderBlock* containingBlock, LayoutUnit c… 394 void computeAndSetBlockDirectionMargins(const RenderBlock* containingBlock); 443 … Length& logicalWidth, LayoutUnit availableLogicalWidth, const RenderBlock* containingBlock) const; 455 …static bool percentageLogicalHeightIsResolvableFromBlock(const RenderBlock* containingBlock, bool … 677 bool skipContainingBlockForPercentHeightCalculation(const RenderBox* containingBlock) const; 679 …LayoutUnit containingBlockLogicalWidthForPositioned(const RenderBoxModelObject* containingBlock, b… 680 …ontainingBlockLogicalHeightForPositioned(const RenderBoxModelObject* containingBlock, bool checkFo…
|
D | RenderText.cpp | 540 …|| box->renderer().containingBlock()->style()->direction() == box->direction()) // FIXME: left on … in createPositionWithAffinityForBoxAfterAdjustingOffsetForBiDi() 570 || box->renderer().containingBlock()->style()->direction() == box->direction()) in createPositionWithAffinityForBoxAfterAdjustingOffsetForBiDi() 669 RenderBlock* cb = containingBlock(); in localCaretRect() 1211 RenderBlock* containingBlock = this->containingBlock(); in setSelectionState() local 1212 if (containingBlock && !containingBlock->isRenderView()) in setSelectionState() 1213 containingBlock->setSelectionState(state); in setSelectionState() 1574 RenderObject* rendererToRepaint = containingBlock(); in clippedOverflowRectForPaintInvalidation() 1594 RenderBlock* cb = containingBlock(); in selectionRectForPaintInvalidation()
|
D | RenderObject.cpp | 613 curr = curr->containingBlock(); in locateFlowThreadContainingBlock() 734 RenderObject* o = isTableCell() ? containingBlock() : container(); in invalidateContainerPreferredLogicalWidths() 738 RenderObject* container = o->isTableCell() ? o->containingBlock() : o->container(); in invalidateContainerPreferredLogicalWidths() 773 RenderBlock* RenderObject::containingBlock() const in containingBlock() function in WebCore::RenderObject 794 o = o->containingBlock(); in containingBlock() 802 o = o->containingBlock(); in containingBlock() 805 o = o->containingBlock(); in containingBlock() 829 container = container->containingBlock(); in clippingContainer() 1871 if (containingBlock()) in showLineTreeForThis() 1872 containingBlock()->showLineTreeAndMark(0, 0, 0, 0, this); in showLineTreeForThis() [all …]
|
D | RenderTreeAsText.cpp | 185 RenderBlock* cb = o.containingBlock(); in writeRenderObject() 213 r.move(0, -toRenderTableCell(o.containingBlock())->intrinsicPaddingBefore()); in writeRenderObject() 413 if (o.containingBlock()->isTableCell()) in writeTextRun() 414 y -= toRenderTableCell(o.containingBlock())->intrinsicPaddingBefore(); in writeTextRun()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
D | RenderSVGInlineText.cpp | 164 RenderBlock* containingBlock = this->containingBlock(); in positionForPoint() local 165 ASSERT(containingBlock); in positionForPoint() 169 absolutePoint.moveBy(containingBlock->location()); in positionForPoint()
|
D | RenderSVGRoot.cpp | 131 return containingBlock()->availableLogicalWidth(); in computeReplacedLogicalWidth() 137 …ngthAttributeForSVG(svg->intrinsicWidth(), style()->effectiveZoom(), containingBlock()->availableL… in computeReplacedLogicalWidth() 153 return containingBlock()->availableLogicalHeight(IncludeMarginBorderPadding); in computeReplacedLogicalHeight() 159 …gthAttributeForSVG(svg->intrinsicHeight(), style()->effectiveZoom(), containingBlock()->availableL… in computeReplacedLogicalHeight()
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | FindInPageCoordinates.cpp | 56 const RenderBlock* container = renderer->containingBlock(); in enclosingScrollableAncestor() 58 container = container->containingBlock(); in enclosingScrollableAncestor()
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | TouchDisambiguation.cpp | 112 …for (RenderBlock* container = renderer->containingBlock(); container; container = container->conta… in findGoodTouchTargets()
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | VisiblePosition.cpp | 693 RenderObject* containingBlock = renderer->containingBlock(); in lineDirectionPointForBlockDirectionNavigation() local 694 if (!containingBlock) in lineDirectionPointForBlockDirectionNavigation() 695 …containingBlock = renderer; // Just use ourselves to determine the writing mode if we have no cont… in lineDirectionPointForBlockDirectionNavigation() 696 return containingBlock->isHorizontalWritingMode() ? caretPoint.x() : caretPoint.y(); in lineDirectionPointForBlockDirectionNavigation()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/ |
D | CompositingInputsUpdater.cpp | 61 const RenderObject* container = layer->renderer()->containingBlock(); in update()
|