Lines Matching refs:marginRight
1498 return renderer && renderer->isBox() && (!style || !style->marginBottom().isFixed() || !style->marginTop().isFixed() || !style->marginLeft().isFixed() || !style->marginRight().isFixed());
1502 return renderer && renderer->isBox() && (!style || !style->marginRight().isFixed());
2036 Length marginRight = style->marginRight();
2037 if (marginRight.isFixed() || !renderer || !renderer->isBox())
2038 return zoomAdjustedPixelValueForLength(marginRight, *style);
2040 if (marginRight.isPercent()) {
2041 // RenderBox gives a marginRight() that is the distance between the right-edge of the child box
2043 // value of the specified margin-right % instead of relying on RenderBox's marginRight() value.
2044 value = minimumValueForLength(marginRight, toRenderBox(renderer)->containingBlockLogicalWidthForContent()).toFloat();
2046 value = toRenderBox(renderer)->marginRight().toFloat();