Home
last modified time | relevance | path

Searched refs:availableLogicalWidth (Results 1 – 9 of 9) sorted by relevance

/external/webkit/Source/WebCore/rendering/
DRenderBlockLineLayout.cpp376 …diRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float availableLogicalWidth) in updateLogicalWidthForLeftAlignedBlock() argument
381 if (totalLogicalWidth > availableLogicalWidth && trailingSpaceRun) in updateLogicalWidthForLeftAlignedBlock()
382 …ax<float>(0, trailingSpaceRun->m_box->logicalWidth() - totalLogicalWidth + availableLogicalWidth)); in updateLogicalWidthForLeftAlignedBlock()
388 else if (totalLogicalWidth > availableLogicalWidth) in updateLogicalWidthForLeftAlignedBlock()
389 logicalLeft -= (totalLogicalWidth - availableLogicalWidth); in updateLogicalWidthForLeftAlignedBlock()
392 …diRun* trailingSpaceRun, float& logicalLeft, float& totalLogicalWidth, float availableLogicalWidth) in updateLogicalWidthForRightAlignedBlock() argument
402 if (totalLogicalWidth < availableLogicalWidth) in updateLogicalWidthForRightAlignedBlock()
403 logicalLeft += availableLogicalWidth - totalLogicalWidth; in updateLogicalWidthForRightAlignedBlock()
407 if (totalLogicalWidth > availableLogicalWidth && trailingSpaceRun) { in updateLogicalWidthForRightAlignedBlock()
408 …ax<float>(0, trailingSpaceRun->m_box->logicalWidth() - totalLogicalWidth + availableLogicalWidth)); in updateLogicalWidthForRightAlignedBlock()
[all …]
DRenderBox.h301 int computeLogicalWidthUsing(LogicalWidthType, int availableLogicalWidth);
312 virtual int availableLogicalWidth() const { return contentLogicalWidth(); } in availableLogicalWidth() function
318 …int availableWidth() const { return style()->isHorizontalWritingMode() ? availableLogicalWidth() :… in availableWidth()
319 …{ return style()->isHorizontalWritingMode() ? availableLogicalHeight() : availableLogicalWidth(); } in availableHeight()
DRenderTable.cpp230 int availableLogicalWidth = containingBlockLogicalWidthForContent(); in computeLogicalWidth() local
232 …PerpendicularContainingBlock ? perpendicularContainingBlockLogicalHeight() : availableLogicalWidth; in computeLogicalWidth()
243 marginTotal += style()->marginStart().calcValue(availableLogicalWidth); in computeLogicalWidth()
245 marginTotal += style()->marginEnd().calcValue(availableLogicalWidth); in computeLogicalWidth()
265 computeInlineDirectionMargins(cb, availableLogicalWidth, logicalWidth()); in computeLogicalWidth()
267 setMarginStart(style()->marginStart().calcMinValue(availableLogicalWidth)); in computeLogicalWidth()
268 setMarginEnd(style()->marginEnd().calcMinValue(availableLogicalWidth)); in computeLogicalWidth()
DRenderBoxModelObject.cpp495 w = containingBlock()->availableLogicalWidth(); in paddingTop()
504 w = containingBlock()->availableLogicalWidth(); in paddingBottom()
513 w = containingBlock()->availableLogicalWidth(); in paddingLeft()
522 w = containingBlock()->availableLogicalWidth(); in paddingRight()
531 w = containingBlock()->availableLogicalWidth(); in paddingBefore()
540 w = containingBlock()->availableLogicalWidth(); in paddingAfter()
549 w = containingBlock()->availableLogicalWidth(); in paddingStart()
558 w = containingBlock()->availableLogicalWidth(); in paddingEnd()
2208 return containingBlock()->availableLogicalWidth(); in containingBlockLogicalWidthForContent()
DRenderBlock.h113 virtual int availableLogicalWidth() const;
225 …de() ? borderLeft() + paddingLeft() + availableLogicalWidth() : borderTop() + paddingTop() + avail… in logicalRightOffsetForContent()
DRenderBox.cpp1176 return cb->availableLogicalWidth(); in containingBlockLogicalWidthForContent()
1679 int RenderBox::computeLogicalWidthUsing(LogicalWidthType widthType, int availableLogicalWidth) in computeLogicalWidthUsing() argument
1691 int marginStart = style()->marginStart().calcMinValue(availableLogicalWidth); in computeLogicalWidthUsing()
1692 int marginEnd = style()->marginEnd().calcMinValue(availableLogicalWidth); in computeLogicalWidthUsing()
1693 if (availableLogicalWidth) in computeLogicalWidthUsing()
1694 logicalWidthResult = availableLogicalWidth - marginStart - marginEnd; in computeLogicalWidthUsing()
1701 … logicalWidthResult = computeBorderBoxLogicalWidth(logicalWidth.calcValue(availableLogicalWidth)); in computeLogicalWidthUsing()
DRenderBlock.cpp1810 int totalAvailableLogicalWidth = borderAndPaddingLogicalWidth() + availableLogicalWidth(); in determineLogicalLeftPositionForChild()
3507 cw = containingBlock()->availableLogicalWidth(); in logicalLeftOffsetForLine()
3544 cw = containingBlock()->availableLogicalWidth(); in logicalRightOffsetForLine()
3928 if (widthAtY == availableLogicalWidth()) in getClearDelta()
4290 int RenderBlock::availableLogicalWidth() const in availableLogicalWidth() function in WebCore::RenderBlock
4295 return RenderBox::availableLogicalWidth(); in availableLogicalWidth()
DRenderInline.cpp659 return margin.calcMinValue(max(0, renderer->containingBlock()->availableLogicalWidth())); in computeMargin()
/external/webkit/Source/WebCore/
DChangeLog-2010-12-0645934 (WebCore::RenderBox::availableLogicalWidth):
51190 (WebCore::RenderBox::availableLogicalWidth):
51232 https://bugs.webkit.org/show_bug.cgi?id=46126, add availableLogicalWidth() to RenderBox.
51236 (WebCore::RenderBlock::availableLogicalWidth):
51239 (WebCore::RenderBox::availableLogicalWidth):