Home | History | Annotate | Download | only in rendering

Lines Matching full:width

543         size.setWidth(r.width());
550 // Only do the inflation if the available width/height are too small. Otherwise try to
551 // fit the glow/check space into the available box's width/height.
552 int widthDelta = r.width() - (size.width() + margins[leftMargin] * zoomLevel + margins[rightMargin] * zoomLevel);
557 result.setWidth(result.width() - widthDelta);
678 if (minSize.width() >= static_cast<int>(sizes[NSRegularControlSize].width() * zoomLevel) &&
681 else if (minSize.width() >= static_cast<int>(sizes[NSSmallControlSize].width() * zoomLevel) &&
694 return IntSize(result.width() * style->effectiveZoom(), result.height() * style->effectiveZoom());
703 return IntSize(result.width() * style->effectiveZoom(), result.height() * style->effectiveZoom());
710 // FIXME: Check is flawed, since it doesn't take min-width/max-width into account.
712 if (style->width().isIntrinsicOrAuto() && size.width() > 0)
713 style->setWidth(Length(size.width(), Fixed));
816 size.setWidth(r.width());
820 if (r.width() >= minimumMenuListSize(o->style()))
831 inflatedRect.setWidth(inflatedRect.width() / zoomLevel);
914 int radius = topLeftRadius.width();
918 FloatRect topGradient(r.x(), r.y(), r.width(), r.height() / 2.0f);
923 FloatRect bottomGradient(r.x() + radius, r.y() + r.height() / 2.0f, r.width() - 2.0f * radius, r.height() / 2.0f);
969 r.width() - o->style()->borderLeftWidth() - o->style()->borderRightWidth(),
982 if (bounds.width() < arrowWidth + arrowPaddingLeft * o->style()->effectiveZoom())
1137 return sizeForSystemFont(style, menuListSizes()).width();
1159 bounds.setX(r.x() + r.width() / 2 - zoomedTrackWidth / 2);
1240 unzoomedRect.setWidth(unzoomedRect.width() / zoomLevel);
1269 unzoomedRect.setWidth(unzoomedRect.width() / zoomLevel);
1313 // If the width and height are both specified, then we have nothing to do.
1314 if (!style->width().isIntrinsicOrAuto() && !style->height().isAuto())
1317 // Use the font size to determine the intrinsic width of the control.
1374 unzoomedRect.setWidth(unzoomedRect.width() / zoomLevel);
1397 style->setWidth(Length(size.width(), Fixed));
1412 style->setWidth(Length(size.width() - emptyResultsOffset, Fixed));
1425 style->setWidth(Length(size.width(), Fixed));
1457 style->setWidth(Length(size.width() + resultsArrowWidth, Fixed));
1486 unzoomedRect.setWidth(unzoomedRect.width() / zoomLevel);