Home | History | Annotate | Download | only in rendering

Lines Matching refs:thumb

170                     // We selected the thumb, we want the cursor to always stay at
171 // the same position relative to the thumb.
174 // We are outside the thumb, move the thumb to the point were
175 // we clicked. We'll be exactly at the center of the thumb.
280 // We may be sharing style with another slider, but we must not share the thumb style.
308 RenderBox* thumb = toRenderBox(m_thumb->renderer());
310 thumbRect.setWidth(thumb->style()->width().calcMinValue(contentWidth()));
311 thumbRect.setHeight(thumb->style()->height().calcMinValue(contentHeight()));
330 RenderBox* thumb = m_thumb ? toRenderBox(m_thumb->renderer()) : 0;
335 if (thumb) {
336 // Allow the theme to set the size of the thumb.
337 if (thumb->style()->hasAppearance()) {
339 theme()->adjustSliderThumbSize(thumb);
342 baseSize.expand(thumb->style()->width().calcMinValue(0), thumb->style()->height().calcMinValue(0));
353 if (thumb) {
355 thumb->setChildNeedsLayout(true, false);
359 IntRect oldThumbRect = thumb->frameRect();
361 thumb->layoutIfNeeded();
364 thumb->setFrameRect(rect);
365 if (thumb->checkForRepaintDuringLayout())
366 thumb->repaintDuringLayoutIfMoved(oldThumbRect);
369 addOverflowFromChild(thumb);
388 // Layout will take care of the thumb's size and position.