• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebCore-7600.1.25/rendering/

Lines Matching +refs:frame +refs:width

324     // It's possible for our border/padding to change, but for the overall logical width of the block to
1266 // If the width of an image is affected by the height of a child (e.g., an image with an aspect ratio),
1392 // Auto and percentage margins become 0 when computing min/max width.
1438 // 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
1439 // and we hit the available width constraint, the layoutIfNeeded() will catch it and do a full layout.
1609 bool caretBrowsing = frame().settings().caretBrowsingEnabled();
1613 caretPainter = frame().selection().caretRendererWithoutUpdatingLayout();
1614 isContentEditable = frame().selection().selection().hasEditableStyle();
1616 caretPainter = frame().page()->dragCaretController().caretRenderer();
1617 isContentEditable = frame().page()->dragCaretController().isContentEditable();
1622 frame().selection().paintCaret(paintInfo.context, paintOffset, paintInfo.rect);
1624 frame().page()->dragCaretController().paintDragCaret(&frame(), paintInfo.context, paintOffset, paintInfo.rect);
1898 paintInfo->context->clipOut(IntRect(offset.x() + r->x(), offset.y() + r->y(), r->width(), r->height()));
1904 return rootBlock.isHorizontalWritingMode() ? offsetFromRootBlock.height() : offsetFromRootBlock.width();
1909 return rootBlock.isHorizontalWritingMode() ? offsetFromRootBlock.width() : offsetFromRootBlock.height();
1918 result = LayoutRect(logicalRect.y(), logicalRect.x(), logicalRect.height(), logicalRect.width());
1931 LayoutRect flippedBlockRect(offsetFromRootBlock.width(), offsetFromRootBlock.height(), width(), height());
2008 if (relOffset.width() || relOffset.height())
2044 result.unite(toRenderBlock(curr)->selectionGaps(rootBlock, rootBlockPhysicalPosition, LayoutSize(offsetFromRootBlock.width() + curr->x(), offsetFromRootBlock.height() + curr->y()),
2411 LayoutUnit lineGridOffset = lineGrid->isHorizontalWritingMode() ? layoutState->lineGridOffset().width(): layoutState->lineGridOffset().height();
2412 LayoutUnit layoutOffset = lineGrid->isHorizontalWritingMode() ? layoutState->layoutOffset().width() : layoutState->layoutOffset().height();
2414 // Push in to the nearest character width (truncated so that we pixel snap left).
2451 LayoutUnit lineGridOffset = lineGrid->isHorizontalWritingMode() ? layoutState->lineGridOffset().width(): layoutState->lineGridOffset().height();
2452 LayoutUnit layoutOffset = lineGrid->isHorizontalWritingMode() ? layoutState->layoutOffset().width() : layoutState->layoutOffset().height();
2454 // Push in to the nearest character width (truncated so that we pixel snap right).
2469 // Floats can't intrude into our box if we have a non-auto column count or width.
2803 inline min/max width calculations. Note the following about the way it walks:
2804 (1) Positioned content is skipped (since it does not contribute to min/max width of a block)
2808 distinct borders/margin/padding that contribute to the min/max width.
2892 float spaceWidth = font.width(RenderBlock::constructTextRun(t, font, &space, 1, t->style()));
2907 // accumulating our preferred widths, we can wind up with a line width that's
2913 // width.
2948 // Only gets added to the max preffered width once.
2950 // Signals the text indent was more negative than the min preferred width
2964 // the new min-width, if it is the widest chunk seen so far, and
2965 // it can also become the max-width.
2975 // margins and min/max width on its own line, and then terminate the line.
2979 // we're already ignoring whitespace. In order to compute accurate min-width
2981 // (a) the min-width of the first non-breakable run. Should be 0 if the text string
2983 // (b) the min-width of the last non-breakable run. Should be 0 if the text string
2985 // (c) the min/max width of the string (trimmed for whitespace).
2992 // with whitespace, then we add the width of the first non-breakable run and
2993 // then end the current line. We then need to use the intermediate min/max width
2995 // the width of the last non-breakable run and use that to start a new line
3073 // Add our width to the max.
3143 // will lead to under-counting the max pref width.
3234 // Positioned children don't affect the min/max width
3254 // Auto and percentage margins simply become 0 when computing min/max width.
3291 // is smaller than the float width.
3754 width(), height() + collapsedMarginBefore() + collapsedMarginAfter()));
3767 ? FloatRect(0, -collapsedMarginBefore(), width(), height() + collapsedMarginBefore() + collapsedMarginAfter())
3768 : FloatRect(0, 0, width(), height());
3832 LayoutRect caretRect = localCaretRectForEmptyElement(width(), textIndentOffset());
3836 *extraWidthToEndOfLine = width() - caretRect.maxX();
3860 LayoutRect rect(additionalOffset.x(), additionalOffset.y() - topMargin, width(), height() + topMargin + bottomMargin);
3863 } else if (width() && height())
3907 return isHorizontalWritingMode() ? offsetDelta.height() : offsetDelta.width();