Home | History | Annotate | Download | only in rendering

Lines Matching refs:logicalHeight

219     if (style() && (style()->logicalHeight().isPercent() || style()->logicalMinHeight().isPercent() || style()->logicalMaxHeight().isPercent()))
303 if (oldStyle && (oldStyle->logicalHeight().isPercent() || oldStyle->logicalMinHeight().isPercent() || oldStyle->logicalMaxHeight().isPercent()))
1178 Length logicalHeightLength = containingBlockStyle->logicalHeight();
1801 computeInlineDirectionMargins(cb, containingBlockLogicalWidthForContent(), logicalHeight());
1822 h = style()->logicalHeight();
1843 heightResult = computeLogicalHeightUsing(style()->logicalHeight());
1845 heightResult = logicalHeight();
1871 && (isRoot() || (isBody() && document()->documentElement()->renderer()->style()->logicalHeight().isPercent()));
1886 setLogicalHeight(max(logicalHeight(), visHeight - margins));
1889 setLogicalHeight(max(logicalHeight(), visHeight - marginsBordersPadding));
1896 int logicalHeight = -1;
1899 logicalHeight = h.value();
1901 logicalHeight = computePercentageLogicalHeight(h);
1902 if (logicalHeight != -1) {
1903 logicalHeight = computeBorderBoxLogicalHeight(logicalHeight);
1904 return logicalHeight;
1907 return logicalHeight;
1921 while (!cb->isRenderView() && !cb->isBody() && !cb->isTableCell() && !cb->isPositioned() && cb->style()->logicalHeight().isAuto()) {
1933 bool isPositionedWithSpecifiedHeight = cb->isPositioned() && (!cb->style()->logicalHeight().isAuto() || (!cb->style()->top().isAuto() && !cb->style()->bottom().isAuto()));
1952 if (scrollsOverflowY() && (!cell->style()->logicalHeight().isAuto() || !cell->table()->style()->logicalHeight().isAuto()))
1961 else if (cb->style()->logicalHeight().isFixed())
1962 result = cb->computeContentBoxLogicalHeight(cb->style()->logicalHeight().value());
1963 else if (cb->style()->logicalHeight().isPercent() && !isPositionedWithSpecifiedHeight) {
1965 result = cb->computePercentageLogicalHeight(cb->style()->logicalHeight());
1971 int oldHeight = cb->logicalHeight();
2023 logicalHeight = computeReplacedLogicalHeightUsing(style()->logicalHeight());
2025 int maxLogicalHeight = style()->logicalMaxHeight().isUndefined() ? logicalHeight : computeReplacedLogicalHeightUsing(style()->logicalMaxHeight());
2027 return max(minLogicalHeight, min(logicalHeight, maxLogicalHeight));
2030 int RenderBox::computeReplacedLogicalHeightUsing(Length logicalHeight) const
2032 switch (logicalHeight.type()) {
2034 return computeContentBoxLogicalHeight(logicalHeight.value());
2052 return computeContentBoxLogicalHeight(logicalHeight.calcValue(newHeight));
2065 if (cb->isTableCell() && (cb->style()->logicalHeight().isAuto() || cb->style()->logicalHeight().isPercent())) {
2069 return logicalHeight.calcValue(availableHeight - borderAndPaddingLogicalHeight());
2072 return computeContentBoxLogicalHeight(logicalHeight.calcValue(availableHeight));
2081 return availableLogicalHeightUsing(style()->logicalHeight());
2105 int oldHeight = block->logicalHeight();
2633 computePositionedLogicalHeightUsing(style()->logicalHeight(), containerBlock, containerLogicalHeight, bordersPlusPadding,
2714 int contentLogicalHeight = logicalHeight() - bordersPlusPadding;
3022 const int availableSpace = containerLogicalHeight - logicalHeight();
3116 computeLogicalTopPositionedOffset(logicalTopPos, this, logicalHeight(), containerBlock, containerLogicalHeight);
3492 return logicalHeight() - position;