Lines Matching full:width
297 // Only do the inflation if the available width/height are too small. Otherwise try to
298 // fit the glow/check space into the available box's width/height.
299 int widthDelta = r.width() - (size.width() + margins[leftMargin] + margins[rightMargin]);
304 result.setWidth(result.width() - widthDelta);
352 if (minSize.width() >= sizes[NSRegularControlSize].width() &&
355 else if (minSize.width() >= sizes[NSSmallControlSize].width() &&
376 // FIXME: Check is flawed, since it doesn't take min-width/max-width into account.
378 if (style->width().isIntrinsicOrAuto() && size.width() > 0)
379 style->setWidth(Length(size.width(), Fixed));
443 // If the width and height are both specified, then we have nothing to do.
444 if (!style->width().isIntrinsicOrAuto() && !style->height().isAuto())
447 // Use the font size to determine the intrinsic width of the control.
482 // If the width and height are both specified, then we have nothing to do.
483 if (!style->width().isIntrinsicOrAuto() && !style->height().isAuto())
486 // Use the font size to determine the intrinsic width of the control.
493 // for real-world Web sites (creating a huge necessary minimum width for buttons whose space is
567 // If the width and height are both specified, then we have nothing to do.
568 if (!style->width().isIntrinsicOrAuto() && !style->height().isAuto())
571 // Use the font size to determine the intrinsic width of the control.
591 size.setWidth(r.width());
683 size.setWidth(r.width());
686 if (r.width() >= minimumMenuListSize(o->style()))
761 int radius = topLeftRadius.width();
765 FloatRect topGradient(r.x(), r.y(), r.width(), r.height() / 2.0f);
770 FloatRect bottomGradient(r.x() + radius, r.y() + r.height() / 2.0f, r.width() - 2.0f * radius, r.height() / 2.0f);
816 r.width() - o->style()->borderLeftWidth() - o->style()->borderRightWidth(),
828 if (bounds.width() < arrowWidth + arrowPaddingLeft)
952 return sizeForSystemFont(style, menuListSizes()).width();
967 bounds.setX(r.x() + r.width() / 2 - trackWidth / 2);
1048 // If the width and height are both specified, then we have nothing to do.
1049 if (!style->width().isIntrinsicOrAuto() && !style->height().isAuto())
1052 // Use the font size to determine the intrinsic width of the control.
1109 style->setWidth(Length(size.width(), Fixed));
1123 style->setWidth(Length(size.width() - emptyResultsOffset, Fixed));
1135 style->setWidth(Length(size.width(), Fixed));
1158 style->setWidth(Length(size.width() + resultsArrowWidth, Fixed));