• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/WebCore-7537.78.1/rendering/

Lines Matching defs:box

493     // Transform-origin depends on box size, so we need to update the layer transform after layout.
545 LayoutRect box = borderBoundingBox();
546 adjustRectForOutlineAndShadow(box);
550 containerRelativeQuad = geometryMap->mapToContainer(box, repaintContainer);
552 containerRelativeQuad = localToContainerQuad(FloatRect(box), repaintContainer);
554 box = containerRelativeQuad.enclosingBoundingBox();
558 box.move(view()->layoutDelta());
560 return box;
574 LayoutRect box = borderBoxRect();
575 result = box;
578 result.move(0, box.height() + reflectionOffset());
581 result.move(0, -box.height() - reflectionOffset());
584 result.move(-box.width() - reflectionOffset(), 0);
587 result.move(box.width() + reflectionOffset(), 0);
608 LayoutRect box = borderBoxRect();
612 result.setY(box.maxY() + reflectionOffset() + (box.maxY() - r.maxY()));
615 result.setY(box.y() - reflectionOffset() - box.height() + (box.maxY() - r.maxY()));
618 result.setX(box.x() - reflectionOffset() - box.width() + (box.maxX() - r.maxX()));
621 result.setX(box.maxX() + reflectionOffset() + (box.maxX() - r.maxX()));
744 // Check for a box that can be scrolled in its own right.
748 // Check for a box that represents the top level of a web page.
775 IntRect box(absoluteBoundingBoxRect());
777 if (point.x() < box.x() + autoscrollBeltSize)
779 else if (point.x() > box.maxX() - autoscrollBeltSize)
782 if (point.y() < box.y() + autoscrollBeltSize)
784 else if (point.y() > box.maxY() - autoscrollBeltSize)
1100 // FIXME: Should eventually give the theme control over whether the box shadow should paint, since controls could have
1253 // If there is unobscured area above/left of a static positioned box then the rect is probably not covered.
1358 // Apply outsets to the border box.
1604 // We don't use the region-specific border box's width and height since clip offsets are (stupidly) specified
1728 // Use the content box logical height as specified by the style.
1755 // If this box has a transform, it acts as a fixed position container for fixed descendants,
1756 // and may itself also be fixed position. So propagate 'fixed' up only if this box is fixed position.
1830 // If this box has a transform, it acts as a fixed position container for fixed descendants,
1831 // and may itself also be fixed position. So propagate 'fixed' up only if this box is fixed position.
1893 void RenderBox::positionLineBox(InlineBox* box)
1899 // The value is cached in the xPos of the box. We only need this value if
1902 RootInlineBox* root = box->root();
1903 root->block()->setStaticInlinePositionForChild(this, root->lineTopWithLeading(), roundedLayoutUnit(box->logicalLeft()));
1904 if (style()->hasStaticInlinePosition(box->isHorizontal()))
1908 // just below the line box (as though all the inlines that came before us got
1910 // in flow). This value was cached in the y() of the box.
1911 layer()->setStaticBlockPosition(box->logicalTop());
1912 if (style()->hasStaticBlockPosition(box->isHorizontal()))
1916 // Nuke the box.
1917 box->remove();
1918 box->destroy(renderArena());
1920 setLocation(roundedLayoutPoint(box->topLeft()));
1925 m_inlineBoxWrapper = box;
2019 // We are now in our parent container's coordinate space. Apply our transform to obtain a bounding box
2033 // is translated, but the render box isn't, so we need to do this to get the
2114 // The parent box is flexing us, so it has increased or decreased our
2288 // Flexible box items should shrink wrap, so we lay them out at their intrinsic widths.
2336 // Other browsers center the margin box for align=center elements so we match them here.
2510 // The parent box is flexing us, so it has increased or decreased our height. We have to
2523 // Block children of horizontal flexible boxes fill the height of the box.
2541 // for box-sizing.
2691 // FIXME: Table cells should default to box-sizing: border-box so we can avoid this hack.
2692 // It is necessary to use the border-box to match WinIE's broken
2693 // box model. This is essential for sizing inside
2804 // It is necessary to use the border-box to match WinIE's broken
2805 // box model. This is essential for sizing inside
3070 // than or less than the computed width(). Be careful of box-sizing and
3105 * containing block to the left margin edge of a hypothetical box that would
3106 * have been the first box of the element if its 'position' property had
3108 * hypothetical box is to the left of the containing block.
3110 * containing block to the right margin edge of the same hypothetical box as
3111 * above. The value is positive if the hypothetical box is to the left of the
3114 * But rather than actually calculating the dimensions of that hypothetical box,
3367 // of the first line box when really it should use the last line box. When
3428 * of a hypothetical box that would have been the first box of the element if
3430 * value is negative if the hypothetical box is above the containing block.
3433 * box, user agents are free to make a guess at its probable position.
3808 // of the first line box when really it should use the last line box. When
3955 LayoutRect RenderBox::localCaretRect(InlineBox* box, int caretOffset, LayoutUnit* extraWidthToEndOfLine)
3963 bool ltr = box ? box->isLeftToRightDirection() : style()->isLeftToRightDirection();
3968 if (box) {
3969 RootInlineBox* rootBox = box->root();
3975 // If height of box is smaller than font height, use the latter one,
3978 // Also, if the box is not a replaced element, always use the font height.
4052 // Find the distance from (x, y) to the box. Split the space around the box into 8 pieces
4120 // Compute box-shadow overflow first.
4159 // and just propagates the border box rect instead.
4165 // have visual overflow of its own set from box shadows or reflections. It is unnecessary to propagate this
4236 inline static bool percentageLogicalHeightIsResolvable(const RenderBox* box)
4238 return RenderBox::percentageLogicalHeightIsResolvableFromBlock(box->containingBlock(), box->isOutOfFlowPositioned());
4541 static void markBoxForRelayoutAfterSplit(RenderBox* box)
4545 if (box->isTable()) {
4548 toRenderTable(box)->forceSectionsRecalc();
4549 } else if (box->isTableSection())
4550 toRenderTableSection(box)->setNeedsCellRecalc();
4552 box->setNeedsLayoutAndPrefWidthsRecalc();
4564 // We have to split the parent box into two boxes and move children
4565 // from |beforeChild| to end into the new post box.