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

Lines Matching +defs:right +defs:margin +defs:width

359 static bool positionChangeIsMovementOnly(const LengthBox& a, const LengthBox& b, const Length& width)
364 || a.right().type() != b.right().type()
372 if (!a.left().isIntrinsicOrAuto() && !a.right().isIntrinsicOrAuto())
376 // If our width is auto and left or right is specified then this
378 if ((!a.left().isIntrinsicOrAuto() || !a.right().isIntrinsicOrAuto()) && width.isIntrinsicOrAuto())
408 if (m_box->width() != other->m_box->width()
422 if (surround->margin != other->surround->margin)
567 // does not, so these style differences can be width differences.
652 if (!positionChangeIsMovementOnly(surround->offset, other->surround->offset, m_box->width()))
667 if (position() == AbsolutePosition && positionChangeIsMovementOnly(surround->offset, other->surround->offset, m_box->width()))
826 void RenderStyle::setClip(Length top, Length right, Length bottom, Length left)
830 data->clip.m_right = right;
988 transform.translate3d(floatValueForLength(transformOriginX(), boundingBox.width()) + offsetX,
997 transform.translate3d(-floatValueForLength(transformOriginX(), boundingBox.width()) - offsetX,
1043 LayoutSize(valueForLength(border.topLeft().width(), size.width()),
1045 LayoutSize(valueForLength(border.topRight().width(), size.width()),
1047 LayoutSize(valueForLength(border.bottomLeft().width(), size.width()),
1049 LayoutSize(valueForLength(border.bottomRight().width(), size.width()),
1098 borderRect.width() - leftWidth - rightWidth,
1421 void RenderStyle::getShadowExtent(const ShadowData* shadow, LayoutUnit &top, LayoutUnit &right, LayoutUnit &bottom, LayoutUnit &left) const
1424 right = 0;
1434 right = std::max<LayoutUnit>(right, shadow->x() + extentAndSpread);
1443 LayoutUnit right = 0;
1453 right = std::min<LayoutUnit>(right, shadow->x() - extentAndSpread);
1458 return LayoutBoxExtent(top, right, bottom, left);
1461 void RenderStyle::getShadowHorizontalExtent(const ShadowData* shadow, LayoutUnit &left, LayoutUnit &right) const
1464 right = 0;
1472 right = std::max<LayoutUnit>(right, shadow->x() + extentAndSpread);
1665 void RenderStyle::setMarginStart(Length margin)
1669 setMarginLeft(margin);
1671 setMarginRight(margin);
1674 setMarginTop(margin);
1676 setMarginBottom(margin);
1680 void RenderStyle::setMarginEnd(Length margin)
1684 setMarginRight(margin);
1686 setMarginLeft(margin);
1689 setMarginBottom(margin);
1691 setMarginTop(margin);
1717 NinePieceImage::computeOutset(image.outset().right(), borderRightWidth()),