Home
last modified time | relevance | path

Searched refs:childWidth (Results 1 – 2 of 2) sorted by relevance

/external/webkit/Source/WebCore/rendering/
DRenderBox.cpp1737 …ox::computeInlineDirectionMargins(RenderBlock* containingBlock, int containerWidth, int childWidth) in computeInlineDirectionMargins() argument
1744 if ((marginStartLength.isAuto() && marginEndLength.isAuto() && childWidth < containerWidth) in computeInlineDirectionMargins()
1746 containingBlock->setMarginStartForChild(this, max(0, (containerWidth - childWidth) / 2)); in computeInlineDirectionMargins()
1747 …containingBlock->setMarginEndForChild(this, containerWidth - childWidth - containingBlock->marginS… in computeInlineDirectionMargins()
1752 if (marginEndLength.isAuto() && childWidth < containerWidth) { in computeInlineDirectionMargins()
1754 …containingBlock->setMarginEndForChild(this, containerWidth - childWidth - containingBlock->marginS… in computeInlineDirectionMargins()
1761 if ((marginStartLength.isAuto() && childWidth < containerWidth) || pushToEndFromTextAlign) { in computeInlineDirectionMargins()
1763 …containingBlock->setMarginStartForChild(this, containerWidth - childWidth - containingBlock->margi… in computeInlineDirectionMargins()
DRenderBox.h259 …id computeInlineDirectionMargins(RenderBlock* containingBlock, int containerWidth, int childWidth);