Home | History | Annotate | Download | only in rendering

Lines Matching refs:logicalWidth

451     switch (style()->logicalWidth().type()) {
489 int logicalWidth;
491 logicalWidth = computeReplacedLogicalWidthUsing(style()->logicalWidth());
494 logicalWidth = style()->isHorizontalWritingMode() ? size.width() : size.height();
496 logicalWidth = 0; // If the image is relatively-sized, set the width to 0 until there is a set container size.
498 logicalWidth = calcAspectRatioLogicalWidth();
501 int maxLogicalWidth = !includeMaxWidth || style()->logicalMaxWidth().isUndefined() ? logicalWidth : computeReplacedLogicalWidthUsing(style()->logicalMaxWidth());
504 logicalWidth = max(minLogicalWidth, min(logicalWidth, maxLogicalWidth));
508 if (cw && logicalWidth > cw)
509 logicalWidth = cw;
511 return logicalWidth;
513 return max(minLogicalWidth, min(logicalWidth, maxLogicalWidth));
537 int logicalWidth;
539 logicalWidth = computeReplacedLogicalWidthUsing(style()->width());
541 logicalWidth = calcAspectRatioLogicalWidth();
543 int maxLogicalWidth = style()->maxWidth().value() == undefinedLength ? logicalWidth :
545 logicalWidth = max(minLogicalWidth, min(logicalWidth, maxLogicalWidth));
548 if (cw && logicalWidth && logicalWidth > cw)
549 logicalHeight = cw * logicalHeight / logicalWidth; // preserve aspect ratio