Lines Matching full:width
491 size.setWidth(r.width());
498 // Only do the inflation if the available width/height are too small. Otherwise try to
499 // fit the glow/check space into the available box's width/height.
500 int widthDelta = r.width() - (size.width() + margins[leftMargin] * zoomLevel + margins[rightMargin] * zoomLevel);
505 result.setWidth(result.width() - widthDelta);
607 if (minSize.width() >= static_cast<int>(sizes[NSRegularControlSize].width() * zoomLevel) &&
610 else if (minSize.width() >= static_cast<int>(sizes[NSSmallControlSize].width() * zoomLevel) &&
623 return IntSize(result.width() * style->effectiveZoom(), result.height() * style->effectiveZoom());
632 return IntSize(result.width() * style->effectiveZoom(), result.height() * style->effectiveZoom());
639 // FIXME: Check is flawed, since it doesn't take min-width/max-width into account.
641 if (style->width().isIntrinsicOrAuto() && size.width() > 0)
642 style->setWidth(Length(size.width(), Fixed));
745 size.setWidth(r.width());
749 if (r.width() >= minimumMenuListSize(o->style()))
760 inflatedRect.setWidth(inflatedRect.width() / zoomLevel);
843 int radius = topLeftRadius.width();
847 FloatRect topGradient(r.x(), r.y(), r.width(), r.height() / 2.0f);
852 FloatRect bottomGradient(r.x() + radius, r.y() + r.height() / 2.0f, r.width() - 2.0f * radius, r.height() / 2.0f);
898 r.width() - o->style()->borderLeftWidth() - o->style()->borderRightWidth(),
911 if (bounds.width() < arrowWidth + arrowPaddingLeft * o->style()->effectiveZoom())
1065 return sizeForSystemFont(style, menuListSizes()).width();
1087 bounds.setX(r.x() + r.width() / 2 - zoomedTrackWidth / 2);
1167 unzoomedRect.setWidth(unzoomedRect.width() / zoomLevel);
1196 unzoomedRect.setWidth(unzoomedRect.width() / zoomLevel);
1239 // If the width and height are both specified, then we have nothing to do.
1240 if (!style->width().isIntrinsicOrAuto() && !style->height().isAuto())
1243 // Use the font size to determine the intrinsic width of the control.
1299 unzoomedRect.setWidth(unzoomedRect.width() / zoomLevel);
1322 style->setWidth(Length(size.width(), Fixed));
1337 style->setWidth(Length(size.width() - emptyResultsOffset, Fixed));
1350 style->setWidth(Length(size.width(), Fixed));
1380 style->setWidth(Length(size.width() + resultsArrowWidth, Fixed));
1407 unzoomedRect.setWidth(unzoomedRect.width() / zoomLevel);
1468 int width = mediaSliderThumbWidth;
1475 width = size.width;
1479 o->style()->setWidth(Length(static_cast<int>(width * zoomLevel), Fixed));
1511 unzoomedRect.setWidth(unzoomedRect.width() / zoomLevel);