Lines Matching full:width
689 int oldWidth = width();
701 if (oldWidth != width() || oldColumnWidth != desiredColumnWidth())
837 repaintRect.intersect(IntRect(0, 0, width(), height()));
1187 // width computation will take into account the delta between |leftOff| and |xPos|
1188 // so that we can just pass the content width in directly to the |calcHorizontalMargins|
1197 int xPos = width
1198 int chPos = xPos - (child->width() + child->marginRight());
1204 chPos = min(chPos, rightOff - child->width()); // Let the float sit in the child's margin if it can fit.
1208 // width computation will take into account the delta between |rightOff| and |xPos|
1209 // so that we can just pass the content width in directly to the |calcHorizontalMargins|
1212 chPos = rightOff - child->marginRight() - child->width();
1346 IntRect oldRect(child->x(), child->y() , child->width(), child->height());
1390 // The child's width depends on the line width.
1391 // When the child shifts to clear an item, its width can
1392 // change (because it has more available line width).
1422 if (childOffset.width() || childOffset.height()) {
1489 // We don't have to do a full layout. We just have to update our position. Try that first. If we have shrink-to-fit width
1490 // and we hit the available width constraint, the layoutIfNeeded() will catch it and do a full layout.
1592 ruleX += colRect.width() + colGap / 2;
1593 currXOffset += colRect.width() + colGap;
1595 ruleX -= (colRect.width() + colGap / 2);
1596 currXOffset -= (colRect.width() + colGap);
1646 currXOffset += colRect.width() + colGap;
1648 currXOffset -= (colRect.width() + colGap);
1773 paintOutline(paintInfo.context, tx, ty, width(), height(), style());
2004 paintInfo->context->clipOut(IntRect(tx + r->x(), ty + r->y(), r->width(), r->height()));
2026 r->m_renderer->width(), r->m_renderer->height()));
2130 if (relOffset.width() || relOffset.height())
2155 result.uniteRight(fillRightSelectionGap(this, curr->x() + curr->width(), curr->y(), curr->height(), rootBlock, blockX, blockY, tx, ty, paintInfo));
2171 IntRect RenderBlock::fillHorizontalSelectionGap(RenderObject* selObj, int xPos, int yPos, int width, int height, const PaintInfo* paintInfo)
2173 if (width <= 0 || height <= 0)
2175 IntRect gapRect(xPos, yPos, width, height);
2192 int width = right - left;
2193 if (width <= 0)
2196 IntRect gapRect(left, top, width, height);
2208 int width = right - left;
2209 if (width <= 0)
2212 IntRect gapRect(left, top, width, height);
2224 int width = right - left;
2225 if (width <= 0)
2228 IntRect gapRect(left, top, width, height);
2358 newObj->m_width = o->width() + o->marginLeft() + o->marginRight();
2421 int fwidth = f->m_width; // The width we look for.
2425 IntRect oldRect(o->x(), o->y() , o->width(), o->height());
2452 o->setLocation(fx - o->marginRight() - o->width(), y + o->marginTop());
2672 int bottom = includeSelf && width() > 0 ? height() : 0;
2677 if (!firstChild() && (!width() || !height()))
2716 if (!isRenderView() || r->x() + r->width() > 0 || r->x() + r->rightmostPosition(false) > 0) {
2766 int right = includeSelf && height() > 0 ? width() : 0;
2771 if (!firstChild() && (!width() || !height()))
2839 int childRightEdge = currBox->x() + currBox->width();
2852 int childRightEdge = currBox->x() + currBox->width() + currBox->marginRight();
2863 int left = includeSelf && height() > 0 ? 0 : width();
2868 if (!firstChild() && (!width() || !height()))
3184 // Floats can't intrude into our box if we have a non-auto column count or width.
3257 int oldChildWidth = child->width();
3260 int childWidthAtY = child->width();
3346 IntRect boundsRect(tx, ty, width(), height());
3380 currXOffset += colRect.width() + colGap;
3382 currXOffset -= (colRect.width() + colGap);
3471 int childMidX = child->width() / 2;
3556 if (point.y() >= height() || (point.y() >= 0 && point.x() >= width()))
3600 // If we have multiple columns, then the available width is reduced to our column width.
3615 // Calculate our column width and column count.
3662 void RenderBlock::setDesiredColumnCountAndWidth(int count, int width)
3681 info->m_desiredColumnWidth = width;
3815 int overflowRight = max(width(), currX - colGap);
3850 IntRect gapAndColumnRect(colRect.x() - leftGap, colRect.y(), colRect.width() + colGap, colRect.height());
3890 currXOffset += colRect.width() + colGap;
3892 currXOffset -= (colRect.width() + colGap);
3906 if (!isTableCell() && style()->width().isFixed() && style()->width().value() > 0)
3907 m_minPrefWidth = m_maxPrefWidth = calcContentBoxWidth(style()->width().value());
3922 // A horizontal marquee with inline children has no minimum width.
3958 inline min/max width calculations. Note the following about the way it walks:
3959 (1) Positioned content is skipped (since it does not contribute to min/max width of a block)
3963 distinct borders/margin/padding that contribute to the min/max width.
4050 int spaceWidth = font.width(TextRun(&space, 1));
4072 bool allowImagesToBreak = !style()->htmlHacks() || !isTableCell() || !style()->width().isIntrinsicOrAuto();
4088 // the new min-width, if it is the widest chunk seen so far, and
4089 // it can also become the max-width.
4099 // margins and min/max width on its own line, and then terminate the line.
4103 // we're already ignoring whitespace. In order to compute accurate min-width
4105 // (a) the min-width of the first non-breakable run. Should be 0 if the text string
4107 // (b) the min-width of the last non-breakable run. Should be 0 if the text string
4109 // (c) the min/max width of the string (trimmed for whitespace).
4116 // with whitespace, then we add the width of the first non-breakable run and
4117 // then end the current line. We then need to use the intermediate min/max width
4119 // the width of the last non-breakable run and use that to start a new line
4189 // Add our width to the max.
4333 // Positioned children don't affect the min/max width
4352 // Auto and percentage margins simply become 0 when computing min/max width.
4376 // is smaller than the float width.
4398 <div style="position:absolute; width:100px; top:50px;">
4400 <table style="width:100%"><tr><td></table>
4404 // In the above example, the inner absolute positioned block should have a computed width
4408 if (style()->htmlHacks() && child->style()->width().isPercent() &&
4811 right = max(right, x + box->lastChild()->x() + box->lastChild()->width());
4822 right = max(right, x + obj->x() + obj->width());
4835 int floatRight = floatLeft + r->m_renderer->width();
4912 width(), height() + collapsedMarginTop() + collapsedMarginBottom()));
4917 rects.append(IntRect(tx, ty, width(), height()));
4927 width(), height() + collapsedMarginTop() + collapsedMarginBottom());
4931 quads.append(RenderBox::localToAbsoluteQuad(FloatRect(0, 0, width(), height())));
5028 int w = width();
5077 IntRect rect(tx, ty - topMargin, width(), height() + topMargin + bottomMargin);
5080 } else if (width() && height())
5081 rects.append(IntRect(tx, ty, width(), height()));
5087 IntRect rect(tx + curr->x(), ty + top, curr->width(), bottom - top);