Lines Matching defs:logicalWidth

1071         FloatRect rootRect(tx + r->x(), ty + r->selectionTop(), r->logicalWidth(), r->selectionHeight());
1587 Length logicalWidthLength = (treatAsReplaced) ? Length(computeReplacedLogicalWidth(), Fixed) : style()->logicalWidth();
1631 if (logicalWidth() > maxLogicalWidth) {
1639 if (logicalWidth() < minLogicalWidth) {
1647 setLogicalWidth(max(logicalWidth(), minPreferredLogicalWidth()));
1648 logicalWidthLength = Length(logicalWidth(), Fixed);
1656 computeInlineDirectionMargins(cb, containerLogicalWidth, logicalWidth());
1674 if (!hasPerpendicularContainingBlock && containerLogicalWidth && containerLogicalWidth != (logicalWidth() + marginStart() + marginEnd())
1676 cb->setMarginEndForChild(this, containerLogicalWidth - logicalWidth() - cb->marginStartForChild(this));
1681 int logicalWidthResult = logicalWidth();
1682 Length logicalWidth;
1684 logicalWidth = style()->logicalWidth();
1686 logicalWidth = style()->logicalMinWidth();
1688 logicalWidth = style()->logicalMaxWidth();
1690 if (logicalWidth.isIntrinsicOrAuto()) {
1701 logicalWidthResult = computeBorderBoxLogicalWidth(logicalWidth.calcValue(availableLogicalWidth));
1715 Length logicalWidth = (widthType == MaxLogicalWidth) ? style()->logicalMaxWidth() : style()->logicalWidth();
1716 if (logicalWidth.type() == Intrinsic)
1743 if (logicalWidth.type() == Auto && !(parent()->isFlexibleBox() && parent()->style()->boxOrient() == VERTICAL && parent()->style()->boxAlign() == BSTRETCH) && node() && (node()->hasTagName(inputTag) || node()->hasTagName(selectTag) || node()->hasTagName(buttonTag) || node()->hasTagName(textareaTag) || node()->hasTagName(legendTag) || node()->hasTagName(datagridTag)))
2000 int logicalWidth = computeReplacedLogicalWidthUsing(style()->logicalWidth());
2002 int maxLogicalWidth = !includeMaxWidth || style()->logicalMaxWidth().isUndefined() ? logicalWidth : computeReplacedLogicalWidthUsing(style()->logicalMaxWidth());
2004 return max(minLogicalWidth, min(logicalWidth, maxLogicalWidth));
2007 int RenderBox::computeReplacedLogicalWidthUsing(Length logicalWidth) const
2009 switch (logicalWidth.type()) {
2011 return computeContentBoxLogicalWidth(logicalWidth.value());
2018 return computeContentBoxLogicalWidth(logicalWidth.calcMinValue(cw));
2170 fromRight = last->logicalLeft() + last->logicalWidth() - last->borderLogicalRight();
2172 fromRight = first->logicalLeft() + first->logicalWidth() - first->borderLogicalRight();
2233 staticPosition -= enclosingBox->logicalWidth();
2325 computePositionedLogicalWidthUsing(style()->logicalWidth(), containerBlock, containerDirection,
2344 if (logicalWidth() > maxLogicalWidth) {
2364 if (logicalWidth() < minLogicalWidth) {
2372 if (stretchesToMinIntrinsicLogicalWidth() && logicalWidth() < minPreferredLogicalWidth() - bordersPlusPadding) {
2381 // Put logicalWidth() into correct form.
2382 setLogicalWidth(logicalWidth() + bordersPlusPadding);
2396 void RenderBox::computePositionedLogicalWidthUsing(Length logicalWidth, const RenderBoxModelObject* containerBlock, TextDirection containerDirection,
2407 bool logicalWidthIsAuto = logicalWidth.isIntrinsicOrAuto();
2428 logicalWidthValue = computeContentBoxLogicalWidth(logicalWidth.calcValue(containerLogicalWidth));
2536 logicalWidthValue = computeContentBoxLogicalWidth(logicalWidth.calcValue(containerLogicalWidth));
2545 logicalWidthValue = computeContentBoxLogicalWidth(logicalWidth.calcValue(containerLogicalWidth));
2865 const int availableSpace = containerLogicalWidth - logicalWidth();
2967 int totalLogicalWidth = logicalWidth() + logicalLeftValue + logicalRightValue + marginLogicalLeftAlias + marginLogicalRightAlias;
2991 computeLogicalLeftPositionedOffset(logicalLeftPos, this, logicalWidth(), containerBlock, containerLogicalWidth);