Home | History | Annotate | Download | only in rendering

Lines Matching defs:logicalHeight

545 LayoutUnit RenderBox::constrainLogicalHeightByMinMax(LayoutUnit logicalHeight, LayoutUnit intrinsicContentHeight) const
551 logicalHeight = min(logicalHeight, maxH);
553 return max(logicalHeight, computeLogicalHeightUsing(styleToUse->logicalMinHeight(), intrinsicContentHeight));
556 LayoutUnit RenderBox::constrainContentBoxLogicalHeightByMinMax(LayoutUnit logicalHeight, LayoutUnit intrinsicContentHeight) const
562 logicalHeight = min(logicalHeight, maxH);
564 return max(logicalHeight, computeContentLogicalHeight(styleToUse->logicalMinHeight(), intrinsicContentHeight));
998 void RenderBox::setOverrideContainingBlockContentLogicalHeight(LayoutUnit logicalHeight)
1002 gOverrideContainingBlockLogicalHeightMap->set(this, logicalHeight);
1740 Length logicalHeightLength = containingBlockStyle->logicalHeight();
2509 computeLogicalHeight(logicalHeight(), logicalTop(), computedValues);
2517 void RenderBox::computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues& computedValues) const
2519 computedValues.m_extent = logicalHeight;
2567 h = style()->logicalHeight();
2582 heightResult = computeLogicalHeightUsing(style()->logicalHeight(), computedValues.m_extent - borderAndPaddingLogicalHeight());
2610 && (isRoot() || (isBody() && document()->documentElement()->renderer()->style()->logicalHeight().isPercent())) && !isInline();
2632 LayoutUnit logicalHeight = computeContentAndScrollbarLogicalHeightUsing(height, intrinsicContentHeight);
2633 if (logicalHeight != -1)
2634 logicalHeight = adjustBorderBoxLogicalHeightForBoxSizing(logicalHeight);
2635 return logicalHeight;
2687 return !containingBlock->isTableCell() && !containingBlock->isOutOfFlowPositioned() && containingBlock->style()->logicalHeight().isAuto() && isHorizontalWritingMode() == containingBlock->isHorizontalWritingMode();
2711 bool isOutOfFlowPositionedWithSpecifiedHeight = cb->isOutOfFlowPositioned() && (!cbstyle->logicalHeight().isAuto() || (!cbstyle->logicalTop().isAuto() && !cbstyle->logicalBottom().isAuto()));
2733 if (scrollsOverflowY() && (!cell->style()->logicalHeight().isAuto() || !cell->table()->style()->logicalHeight().isAuto()))
2740 } else if (cbstyle->logicalHeight().isFixed()) {
2741 LayoutUnit contentBoxHeight = cb->adjustContentBoxLogicalHeightForBoxSizing(cbstyle->logicalHeight().value());
2743 } else if (cbstyle->logicalHeight().isPercent() && !isOutOfFlowPositionedWithSpecifiedHeight) {
2745 LayoutUnit heightWithScrollbar = cb->computePercentageLogicalHeight(cbstyle->logicalHeight());
2759 cb->computeLogicalHeight(cb->logicalHeight(), 0, computedValues);
2841 return computeReplacedLogicalHeightRespectingMinMaxHeight(computeReplacedLogicalHeightUsing(style()->logicalHeight()));
2844 LayoutUnit RenderBox::computeReplacedLogicalHeightRespectingMinMaxHeight(LayoutUnit logicalHeight) const
2847 LayoutUnit maxLogicalHeight = style()->logicalMaxHeight().isUndefined() ? logicalHeight : computeReplacedLogicalHeightUsing(style()->logicalMaxHeight());
2848 return max(minLogicalHeight, min(logicalHeight, maxLogicalHeight));
2851 LayoutUnit RenderBox::computeReplacedLogicalHeightUsing(Length logicalHeight) const
2853 switch (logicalHeight.type()) {
2855 return adjustContentBoxLogicalHeightForBoxSizing(logicalHeight.value());
2871 block->computeLogicalHeight(block->logicalHeight(), 0, computedValues);
2874 return adjustContentBoxLogicalHeightForBoxSizing(valueForLength(logicalHeight, newHeight));
2890 while (cb && !cb->isRenderView() && (cb->style()->logicalHeight().isAuto() || cb->style()->logicalHeight().isPercent())) {
2895 return valueForLength(logicalHeight, availableHeight - borderAndPaddingLogicalHeight());
2901 return adjustContentBoxLogicalHeightForBoxSizing(valueForLength(logicalHeight, availableHeight));
2907 return adjustContentBoxLogicalHeightForBoxSizing(valueForLength(logicalHeight, 0, view()));
2912 return adjustContentBoxLogicalHeightForBoxSizing(computeIntrinsicLogicalContentHeightUsing(logicalHeight, intrinsicLogicalHeight(), borderAndPaddingHeight()));
2920 return constrainLogicalHeightByMinMax(availableLogicalHeightUsing(style()->logicalHeight(), heightType), -1);
2934 return logicalHeight() - borderAndPaddingLogicalHeight();
2952 block->computeLogicalHeight(block->logicalHeight(), 0, computedValues);
3539 LayoutUnit logicalHeight = computedValues.m_extent;
3540 computePositionedLogicalHeightUsing(styleToUse->logicalHeight(), containerBlock, containerLogicalHeight, bordersPlusPadding, logicalHeight,
3551 computePositionedLogicalHeightUsing(styleToUse->logicalMaxHeight(), containerBlock, containerLogicalHeight, bordersPlusPadding, logicalHeight,
3567 computePositionedLogicalHeightUsing(styleToUse->logicalMinHeight(), containerBlock, containerLogicalHeight, bordersPlusPadding, logicalHeight,
3625 LayoutUnit containerLogicalHeight, LayoutUnit bordersPlusPadding, LayoutUnit logicalHeight,
3634 LayoutUnit contentLogicalHeight = logicalHeight - bordersPlusPadding;
4375 while (!cb->isRenderView() && !cb->isBody() && !cb->isTableCell() && !cb->isOutOfFlowPositioned() && cb->style()->logicalHeight().isAuto()) {
4385 bool isOutOfFlowPositionedWithSpecifiedHeight = cb->isOutOfFlowPositioned() && (!cb->style()->logicalHeight().isAuto() || (!cb->style()->top().isAuto() && !cb->style()->bottom().isAuto()));
4395 if (cb->style()->logicalHeight().isFixed())
4397 if (cb->style()->logicalHeight().isPercent() && !isOutOfFlowPositionedWithSpecifiedHeight)
4422 return !style()->logicalHeight().isIntrinsicOrAuto()
4613 return logicalHeight() - position;
4684 return style()->logicalHeight().isPercent()
4687 || style()->logicalHeight().isViewportPercentage()