Home | History | Annotate | Download | only in rendering

Lines Matching defs:logicalHeight

467     switch (style()->logicalHeight().type()) {
519 int logicalHeight;
521 logicalHeight = computeReplacedLogicalHeightUsing(style()->logicalHeight());
524 logicalHeight = style()->isHorizontalWritingMode() ? size.height() : size.width();
526 logicalHeight = 0; // If the image is relatively-sized, set the height to 0 until there is a set container size.
528 logicalHeight = calcAspectRatioLogicalHeight();
531 int maxLogicalHeight = style()->logicalMaxHeight().isUndefined() ? logicalHeight : computeReplacedLogicalHeightUsing(style()->logicalMaxHeight());
534 logicalHeight = max(minLogicalHeight, min(logicalHeight, maxLogicalHeight));
536 if (logicalHeight && document()->settings()->layoutAlgorithm() == Settings::kLayoutSSR) {
549 logicalHeight = cw * logicalHeight / logicalWidth; // preserve aspect ratio
551 return logicalHeight;
553 return max(minLogicalHeight, min(logicalHeight, maxLogicalHeight));