Searched refs:marginLeft (Results 1 - 25 of 39) sorted by relevance

12

/macosx-10.9.5/WebCore-7537.78.1/page/
H A DPrintContext.h75 static String pageSizeAndMarginsInPixels(Frame* frame, int pageNumber, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft);
H A DPrintContext.cpp273 if (style->marginLeft().isAuto())
275 return String::number(style->marginLeft().value());
294 String PrintContext::pageSizeAndMarginsInPixels(Frame* frame, int pageNumber, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft) argument
297 frame->document()->pageSizeAndMarginsInPixels(pageNumber, pageSize, marginTop, marginRight, marginBottom, marginLeft);
300 String::number(marginTop) + ' ' + String::number(marginRight) + ' ' + String::number(marginBottom) + ' ' + String::number(marginLeft);
/macosx-10.9.5/WebCore-7537.78.1/rendering/
H A DRenderScrollbarPart.h53 virtual LayoutUnit marginLeft() const OVERRIDE { ASSERT(isIntegerValue(m_marginBox.left())); return m_marginBox.left(); }
H A DRenderScrollbar.cpp315 int marginLeft = part ? static_cast<int>(part->marginLeft()) : 0; local
317 startLength += marginLeft;
342 rect.setX(rect.x() + partRenderer->marginLeft());
H A DRenderFieldset.cpp50 Length legendMarginLeft = legend->style()->marginLeft();
51 Length legendMarginRight = legend->style()->marginLeft();
H A DRenderText.h109 virtual LayoutUnit marginLeft() const { return minimumValueForLength(style()->marginLeft(), 0, view()); } function in class:WebCore::RenderText
H A DRenderFlexibleBox.cpp155 Length marginLeft = child->style()->marginStartUsing(parentStyle); local
158 if (marginLeft.isFixed())
159 margin += marginLeft.value();
668 return isLeftToRightFlow() ? child->marginLeft() : child->marginRight();
675 return isLeftToRightFlow() ? child->marginRight() : child->marginLeft();
687 return child->marginLeft();
705 return child->marginLeft();
812 if (child->style()->marginLeft().isAuto())
836 if (child->style()->marginLeft().isAuto())
852 return child->style()->marginLeft()
[all...]
H A DRenderDeprecatedFlexibleBox.cpp155 Length marginLeft = child->style()->marginLeft(); local
158 if (marginLeft.isFixed())
159 margin += marginLeft.value();
554 xPos += child->marginLeft();
804 childX += child->marginLeft() + max<LayoutUnit>(0, (contentWidth() - (child->width() + child->marginWidth())) / 2);
808 childX += child->marginLeft();
814 childX += child->marginLeft();
H A DRenderBoxModelObject.h143 virtual LayoutUnit marginLeft() const = 0;
150 LayoutUnit marginWidth() const { return marginLeft() + marginRight(); }
H A DRenderInline.h47 virtual LayoutUnit marginLeft() const;
H A DRenderScrollbarPart.cpp112 m_marginBox.setLeft(minimumValueForLength(style()->marginLeft(), visibleSize, renderView));
H A DInlineFlowBox.h131 return isHorizontal() ? boxModelObject()->marginLeft() : boxModelObject()->marginTop();
H A DRenderInline.cpp575 yield(FloatRect(currBox->inlineBoxWrapper()->x() - currBox->marginLeft(), logicalTop, currBox->width() + currBox->marginWidth(), logicalHeight));
712 LayoutUnit RenderInline::marginLeft() const function in class:WebCore::RenderInline
714 return computeMargin(this, style()->marginLeft());
H A DRenderBlock.h646 , rect(LayoutRect(f->x() - f->marginLeft(), f->y() - f->marginTop(), f->width() + f->marginWidth(), f->height() + f->marginHeight()))
804 return child->x() + child->renderer()->marginLeft();
H A DRenderBox.h238 virtual LayoutUnit marginLeft() const OVERRIDE { return m_marginBox.left(); }
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/WebPage/gtk/
H A DWebPrintOperationGtk.cpp553 double marginLeft = gtk_page_setup_get_left_margin(m_pageSetup.get(), GTK_UNIT_POINTS); local
569 pageWidth = paperWidth - (marginLeft + marginRight);
571 cairo_translate(m_cairoContext.get(), marginLeft, marginTop);
576 pageHeight = paperHeight - (marginLeft + marginRight);
577 cairo_translate(m_cairoContext.get(), marginTop, marginLeft);
603 if (marginLeft + marginRight > 0) {
604 offsetX = marginLeft * (stepX - width) / (marginLeft + marginRight);
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/InjectedBundle/API/c/
H A DWKBundle.cpp288 WKStringRef WKBundlePageSizeAndMarginsInPixels(WKBundleRef bundleRef, WKBundleFrameRef frameRef, int pageIndex, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft) argument
290 return toCopiedAPI(toImpl(bundleRef)->pageSizeAndMarginsInPixels(toImpl(frameRef), pageIndex, width, height, marginTop, marginRight, marginBottom, marginLeft));
/macosx-10.9.5/WebCore-7537.78.1/bindings/objc/
H A DDOMCSS.h186 - (NSString *)marginLeft;
187 - (void)setMarginLeft:(NSString *)marginLeft;
H A DDOMCSS.mm835 - (NSString *)marginLeft
840 - (void)setMarginLeft:(NSString *)marginLeft
842 [self setProperty:@"margin-left" value:marginLeft priority:@""];
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/
H A DSplitView.js306 this._resizerElement.style.marginLeft = -resizerWidth / 2 + "px";
/macosx-10.9.5/WebCore-7537.78.1/inspector/
H A DInspectorOverlay.cpp149 marginBox = LayoutRect(borderBox.x() - renderBox->marginLeft(), borderBox.y() - renderBox->marginTop(),
161 marginBox = LayoutRect(borderBox.x() - renderInline->marginLeft(), borderBox.y(),
/macosx-10.9.5/WebCore-7537.78.1/html/shadow/
H A DSliderThumbElement.cpp285 position -= isLeftToRightDirection ? renderBox()->marginLeft() : renderBox()->marginRight();
/macosx-10.9.5/WebCore-7537.78.1/testing/
H A DInternals.idl216 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long width, long height, long marginTop, long marginRight, long marginBottom, long marginLeft);
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/InjectedBundle/
H A DInjectedBundle.cpp466 String InjectedBundle::pageSizeAndMarginsInPixels(WebFrame* frame, int pageIndex, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft) argument
472 return PrintContext::pageSizeAndMarginsInPixels(coreFrame, pageIndex, width, height, marginTop, marginRight, marginBottom, marginLeft);
/macosx-10.9.5/WebCore-7537.78.1/css/
H A DCSSComputedStyleDeclaration.cpp2090 Length marginLeft = style->marginLeft(); local
2091 if (marginLeft.isFixed() || !renderer || !renderer->isBox())
2092 return zoomAdjustedPixelValueForLength(marginLeft, style.get());
2093 return zoomAdjustedPixelValue(toRenderBox(renderer)->marginLeft(), style.get());

Completed in 166 milliseconds

12