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

Lines Matching refs:m_renderer

51     if (m_renderer.style().isFlippedBlocksWritingMode())
52 physicalBoundingBox.setY(m_renderer.logicalHeight() - physicalBoundingBox.maxY());
53 if (!m_renderer.style().isHorizontalWritingMode())
61 if (m_renderer.style().isFlippedBlocksWritingMode())
62 result.setY(m_renderer.logicalHeight() - result.y());
63 if (!m_renderer.style().isHorizontalWritingMode())
70 if (!m_renderer.style().isHorizontalWritingMode())
87 bool isHorizontalWritingMode = m_renderer.containingBlock()->style().isHorizontalWritingMode();
88 switch (referenceBox(*m_renderer.style().shapeOutside())) {
91 newReferenceBoxLogicalSize.expand(m_renderer.horizontalMarginExtent(), m_renderer.verticalMarginExtent());
93 newReferenceBoxLogicalSize.expand(m_renderer.verticalMarginExtent(), m_renderer.horizontalMarginExtent());
99 newReferenceBoxLogicalSize.shrink(m_renderer.horizontalBorderExtent(), m_renderer.verticalBorderExtent());
101 newReferenceBoxLogicalSize.shrink(m_renderer.verticalBorderExtent(), m_renderer.horizontalBorderExtent());
105 newReferenceBoxLogicalSize.shrink(m_renderer.horizontalBorderAndPaddingExtent(), m_renderer.verticalBorderAndPaddingExtent());
107 newReferenceBoxLogicalSize.shrink(m_renderer.verticalBorderAndPaddingExtent(), m_renderer.horizontalBorderAndPaddingExtent());
149 const LayoutSize& imageSize = m_renderer.calculateImageIntrinsicDimensions(styleImage, roundedLayoutSize(m_referenceBoxLogicalSize), RenderImage::ScaleByEffectiveZoom);
150 styleImage->setContainerSizeForRenderer(&m_renderer, imageSize, m_renderer.style().effectiveZoom());
152 const LayoutRect& marginRect = getShapeImageMarginRect(m_renderer, m_referenceBoxLogicalSize);
153 const LayoutRect& imageRect = m_renderer.isRenderImage()
154 ? toRenderImage(&m_renderer)->replacedContentRect(m_renderer.intrinsicSize())
158 RefPtr<Image> image = styleImage->image(const_cast<RenderBox*>(&m_renderer), imageSize);
168 const RenderStyle& style = m_renderer.style();
169 ASSERT(m_renderer.containingBlock());
170 const RenderStyle& containingBlockStyle = m_renderer.containingBlock()->style();
173 float margin = floatValueForLength(m_renderer.style().shapeMargin(), m_renderer.containingBlock() ? m_renderer.containingBlock()->contentWidth() : LayoutUnit());
187 RoundedRect shapeRect = computeRoundedRectForBoxShape(referenceBox(shapeValue), m_renderer);
227 switch (referenceBox(*m_renderer.style().shapeOutside())) {
228 case MarginBox: return -m_renderer.marginBefore(&m_renderer.containingBlock()->style());
230 case PaddingBox: return borderBeforeInWritingMode(m_renderer, m_renderer.containingBlock()->style().writingMode());
231 case ContentBox: return borderAndPaddingBeforeInWritingMode(m_renderer, m_renderer.containingBlock()->style().writingMode());
272 if (m_renderer.isRenderRegion())
275 switch (referenceBox(*m_renderer.style().shapeOutside())) {
276 case MarginBox: return -m_renderer.marginStart(&m_renderer.containingBlock()->style());
278 case PaddingBox: return borderStartWithStyleForWritingMode(m_renderer, m_renderer.containingBlock()->style());
279 case ContentBox: return borderAndPaddingStartWithStyleForWritingMode(m_renderer, m_renderer.containingBlock()->style());
323 LayoutUnit borderBoxTop = containingBlock.logicalTopForFloat(&floatingObject) + containingBlock.marginBeforeForChild(m_renderer);
336 LayoutUnit logicalLeftMargin = containingBlock.style().isLeftToRightDirection() ? containingBlock.marginStartForChild(m_renderer) : containingBlock.marginEndForChild(m_renderer);
340 LayoutUnit logicalRightMargin = containingBlock.style().isLeftToRightDirection() ? containingBlock.marginEndForChild(m_renderer) : containingBlock.marginStartForChild(m_renderer);
341 LayoutUnit rawRightMarginBoxDelta = segments.last().logicalRight - containingBlock.logicalWidthForChild(m_renderer) - logicalRightMargin;