Searched refs:marginTop (Results 1 - 25 of 42) 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.cpp294 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.h51 virtual LayoutUnit marginTop() const OVERRIDE { ASSERT(isIntegerValue(m_marginBox.top())); return m_marginBox.top(); }
H A DRenderScrollbar.cpp323 int marginTop = part ? static_cast<int>(part->marginTop()) : 0; local
325 startLength += marginTop;
345 rect.setY(rect.y() + partRenderer->marginTop());
H A DRenderSlider.cpp71 return height() + marginTop();
H A DRenderFlexibleBox.cpp247 int marginAscent = direction == HorizontalLine ? marginTop() : marginRight();
297 int marginAscent = direction == HorizontalLine ? marginTop() : marginRight();
669 return isLeftToRightFlow() ? child->marginTop() : child->marginBottom();
676 return isLeftToRightFlow() ? child->marginBottom() : child->marginTop();
683 return child->marginTop();
692 return marginTop();
701 return child->marginTop();
817 if (child->style()->marginTop().isAuto())
841 if (child->style()->marginTop().isAuto())
851 return child->style()->marginTop()
[all...]
H A DRenderDeprecatedFlexibleBox.cpp486 ascent += child->marginTop();
558 childY += child->marginTop() + max<LayoutUnit>(0, (contentHeight() - (child->height() + child->marginHeight())) / 2);
564 ascent += child->marginTop();
565 childY += child->marginTop() + (maxAscent - ascent);
572 childY += child->marginTop();
790 // Add in the child's marginTop to our height.
791 setHeight(height() + child->marginTop());
H A DRenderBoxModelObject.h141 virtual LayoutUnit marginTop() const = 0;
149 LayoutUnit marginHeight() const { return marginTop() + marginBottom(); }
H A DRenderInline.h49 virtual LayoutUnit marginTop() const;
H A DRenderScrollbarPart.cpp130 m_marginBox.setTop(minimumValueForLength(style()->marginTop(), visibleSize, renderView));
H A DInlineFlowBox.h131 return isHorizontal() ? boxModelObject()->marginLeft() : boxModelObject()->marginTop();
H A DRenderTheme.cpp644 return box->height() + box->marginTop() + m_theme->baselinePositionAdjustment(o->style()->appearance()) * o->style()->effectiveZoom();
646 return box->height() + box->marginTop();
H A DRenderInline.cpp577 yield(FloatRect(logicalTop, currBox->inlineBoxWrapper()->y() - currBox->marginTop(), logicalHeight, currBox->height() + currBox->marginHeight()));
722 LayoutUnit RenderInline::marginTop() const function in class:WebCore::RenderInline
724 return computeMargin(this, style()->marginTop());
H A DRenderBlock.h646 , rect(LayoutRect(f->x() - f->marginLeft(), f->y() - f->marginTop(), f->width() + f->marginWidth(), f->height() + f->marginHeight()))
820 return child->y() + child->renderer()->marginTop();
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/WebPage/gtk/
H A DWebPrintOperationGtk.cpp555 double marginTop = gtk_page_setup_get_top_margin(m_pageSetup.get(), GTK_UNIT_POINTS); local
570 pageHeight = paperHeight - (marginTop + marginBottom);
571 cairo_translate(m_cairoContext.get(), marginLeft, marginTop);
575 pageWidth = paperWidth - (marginTop + marginBottom);
577 cairo_translate(m_cairoContext.get(), marginTop, marginLeft);
605 offsetY = marginTop * (stepY - height) / (marginTop + marginBottom);
627 double offsetY = ((stepY - paperHeight) / 2.0 * rows) + marginTop;
/macosx-10.9.5/WebKit-7537.78.2/win/
H A DFullscreenVideoController.cpp61 static const int marginTop = 9; variable
238 , m_playPauseButton(HUDButton::PlayPauseButton, IntPoint((windowWidth - buttonSize) / 2, marginTop))
240 , m_volumeUpButton(HUDButton::VolumeUpButton, IntPoint(margin + buttonMiniSize + volumeSliderWidth + buttonMiniSize / 2, marginTop + (buttonSize - buttonMiniSize) / 2))
242 , m_volumeDownButton(HUDButton::VolumeDownButton, IntPoint(margin, marginTop + (buttonSize - buttonMiniSize) / 2))
243 , m_exitFullscreenButton(HUDButton::ExitFullscreenButton, IntPoint(windowWidth - 2 * margin - buttonMiniSize, marginTop + (buttonSize - buttonMiniSize) / 2))
244 , m_volumeSlider(HUDSlider::RoundButton, volumeSliderButtonSize, IntRect(IntPoint(margin + buttonMiniSize, marginTop + (buttonSize - buttonMiniSize) / 2 + buttonMiniSize / 2 - sliderHeight / 2), IntSize(volumeSliderWidth, sliderHeight)))
/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.h180 - (NSString *)marginTop;
181 - (void)setMarginTop:(NSString *)marginTop;
H A DDOMCSS.mm805 - (NSString *)marginTop
810 - (void)setMarginTop:(NSString *)marginTop
812 [self setProperty:@"margin-top" value:marginTop priority:@""];
/macosx-10.9.5/WebCore-7537.78.1/inspector/front-end/
H A DSplitView.js320 this._resizerElement.style.marginTop = -resizerHeight / 2 + "px";
/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/inspector/
H A DInspectorOverlay.cpp149 marginBox = LayoutRect(borderBox.x() - renderBox->marginLeft(), borderBox.y() - renderBox->marginTop(),
160 // Ignore marginTop and marginBottom for inlines.
/macosx-10.9.5/WebCore-7537.78.1/css/
H A DCSSComputedStyleDeclaration.cpp2064 Length marginTop = style->marginTop(); local
2065 if (marginTop.isFixed() || !renderer || !renderer->isBox())
2066 return zoomAdjustedPixelValueForLength(marginTop, style.get());
2067 return zoomAdjustedPixelValue(toRenderBox(renderer)->marginTop(), style.get());
/macosx-10.9.5/WebCore-7537.78.1/platform/gtk/
H A DRenderThemeGtk.cpp172 return box->marginTop() + box->height() - 2;

Completed in 323 milliseconds

12