Home
last modified time | relevance | path

Searched refs:borderTop (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderListBox.cpp277 additionalOffset.y() + borderTop() + paddingTop() + itemHeight() * (index - m_indexOffset), in itemBoundingBoxRect()
364 paintOffset.y() + borderTop(), in paintScrollbar()
366 height() - (borderTop() + borderBottom())); in paintScrollbar()
474 accumulatedOffset.y() + borderTop(), in isPointInOverflowControl()
476 height() - borderTop() - borderBottom()); in isPointInOverflowControl()
490 …if (offset.height() < borderTop() + paddingTop() || offset.height() > height() - paddingBottom() -… in listIndexAtOffset()
500 int newOffset = (offset.height() - borderTop() - paddingTop()) / itemHeight() + m_indexOffset; in listIndexAtOffset()
559 …if (positionOffset.height() < borderTop() + paddingTop() && scrollToRevealElementAtListIndex(offse… in scrollToward()
745 scrollRect.move(borderLeft(), borderTop()); in invalidateScrollbarRect()
747 scrollRect.move(width() - borderRight() - scrollbar->width(), borderTop()); in invalidateScrollbarRect()
[all …]
DRenderButton.cpp113 … + borderLeft(), additionalOffset.y() + borderTop(), width() - borderLeft() - borderRight(), heigh… in controlClipRect()
127 return marginTop() + borderTop() + paddingTop() + contentHeight(); in baselinePosition()
DRenderFieldset.cpp152 LayoutUnit yOff = (legend->y() > 0) ? LayoutUnit() : (legend->height() - borderTop()) / 2; in paintBoxDecorations()
178 …LayoutUnit>(style()->borderTopWidth()), legend->height() - ((legend->height() - borderTop()) / 2)); in paintBoxDecorations()
203 LayoutUnit yOff = (legend->y() > 0) ? LayoutUnit() : (legend->height() - borderTop()) / 2; in paintMask()
DRenderFileUploadControl.cpp97 …ipRect = enclosingIntRect(LayoutRect(paintOffset.x() + borderLeft(), paintOffset.y() + borderTop(), in paintObject()
98 …width() - borderLeft() - borderRight(), height() - borderBottom() - borderTop() + buttonShadowHeig… in paintObject()
130 …textY = paintOffset.y() + borderTop() + paddingTop() + buttonRenderer->baselinePosition(Alphabetic… in paintObject()
DRenderBoxModelObject.h115 virtual int borderTop() const { return style()->borderTopWidth(); } in borderTop() function
128 …LayoutUnit borderAndPaddingHeight() const { return borderTop() + borderBottom() + paddingTop() + p… in borderAndPaddingHeight()
132 …urn style()->isHorizontalWritingMode() ? borderLeft() + paddingLeft() : borderTop() + paddingTop()… in borderAndPaddingLogicalLeft()
135 …rderLogicalLeft() const { return style()->isHorizontalWritingMode() ? borderLeft() : borderTop(); } in borderLogicalLeft()
DRenderMedia.cpp81 …controlsRenderer->setLocation(LayoutPoint(borderLeft(), borderTop()) + LayoutSize(paddingLeft(), p… in layout()
DRenderIFrame.cpp112 …setLogicalHeight(childFrameView->contentsHeight() + borderTop() + borderBottom() + paddingTop() + … in layoutSeamlessly()
DRenderThemeChromiumWin.cpp355 int borderTop = box->borderTop(); in paintMenuList() local
363 bool drawEdges = !(!borderRight && !borderLeft && !borderTop && !borderBottom); in paintMenuList()
381 int spacingTop = box->borderTop() + box->paddingTop(); in paintMenuListButton()
DRenderTextControlMultiLine.cpp102 placeholderBox->setY(borderTop() + paddingTop()); in layoutSpecialExcludedChild()
DRenderLayerScrollableArea.cpp191 scrollRect.move(verticalScrollbarStart(0, m_box->width()), m_box->borderTop()); in invalidateScrollbarRect()
519 int scrollableTopOverflow = m_overflowRect.y() - m_box->borderTop(); in computeScrollDimensions()
720 borderBoxRect.y() + m_box->borderTop(), in rectForVerticalScrollbar()
722 … borderBoxRect.height() - (m_box->borderTop() + m_box->borderBottom()) - scrollCorner.height()); in rectForVerticalScrollbar()
743 return IntSize(verticalScrollbarStart(0, m_box->width()), m_box->borderTop()); in scrollbarOffset()
1019 m_box->borderTop(), in hitTestOverflowControls()
1021 …m_box->height() - (m_box->borderTop() + m_box->borderBottom()) - (m_hBar ? m_hBar->height() : resi… in hitTestOverflowControls()
DRenderWidget.cpp236 roundToInt(adjustedPaintOffset.y() + borderTop() + paddingTop())); in paintContents()
293 …paddingTop() + borderTop(), paddingBottom() + borderBottom(), paddingLeft() + borderLeft(), paddin… in paint()
DRenderPart.cpp124 …LayoutPoint contentOffset = LayoutPoint(borderLeft() + paddingLeft(), borderTop() + paddingTop()) … in nodeAtPoint()
DRenderFlexibleBox.cpp134 …return direction == HorizontalLine ? box->borderTop() + box->paddingTop() + box->contentHeight() :… in synthesizedBaselineFromContentBox()
469 return isLeftToRightFlow() ? borderTop() : borderBottom(); in flowAwareBorderStart()
476 return isLeftToRightFlow() ? borderBottom() : borderTop(); in flowAwareBorderEnd()
483 return borderTop(); in flowAwareBorderBefore()
492 return borderTop(); in flowAwareBorderBefore()
501 return borderTop(); in flowAwareBorderAfter()
508 return borderTop(); in flowAwareBorderAfter()
DRenderDetailsMarker.cpp135 boxOrigin.move(borderLeft() + paddingLeft(), borderTop() + paddingTop()); in paint()
DRenderTreeAsText.cpp251 if (box.borderTop() || box.borderRight() || box.borderBottom() || box.borderLeft()) { in writeRenderObject()
254 BorderValue prevBorder = o.style()->borderTop(); in writeRenderObject()
255 if (!box.borderTop()) in writeRenderObject()
258 ts << " (" << box.borderTop() << "px "; in writeRenderObject()
DRenderThemeChromiumDefault.cpp356 …extraParams.menuList.hasBorder = box->borderRight() || box->borderLeft() || box->borderTop() || bo… in paintMenuList()
374 int spacingTop = box->borderTop() + box->paddingTop(); in paintMenuList()
408 int spacingTop = box->borderTop() + box->paddingTop(); in paintMenuListButton()
DRenderBox.h155 …LayoutRect paddingBoxRect() const { return LayoutRect(borderLeft(), borderTop(), contentWidth() + … in paddingBoxRect()
160 …LayoutRect contentBoxRect() const { return LayoutRect(borderLeft() + paddingLeft(), borderTop() + … in contentBoxRect()
168 …ct() const { return LayoutRect(borderLeft() + computedCSSPaddingLeft(), borderTop() + computedCSSP… in computedCSSContentBoxRect()
232 LayoutUnit clientTop() const { return borderTop(); } in clientTop()
DRenderDeprecatedFlexibleBox.cpp345 LayoutUnit yPos = borderTop() + paddingTop(); in layoutHorizontalBox()
634 LayoutUnit yPos = borderTop() + paddingTop(); in layoutVerticalBox()
660 setHeight(borderTop() + paddingTop()); in layoutVerticalBox()
743 remainingSpace = borderTop() + paddingTop() + contentHeight() - yPos; in layoutVerticalBox()
DRenderMarquee.cpp143 int contentHeight = layoutOverflowRect().maxY() - borderTop() + paddingBottom(); in computePosition()
DRenderEmbeddedObject.cpp238 …childBox->setLocation(LayoutPoint(borderLeft(), borderTop()) + LayoutSize(paddingLeft(), paddingTo… in layout()
DRenderTableCell.h113 virtual int borderTop() const;
DRenderRegion.cpp192 …Point(paintOffset.x() + borderLeft() + paddingLeft(), paintOffset.y() + borderTop() + paddingTop()… in paintObject()
206 …latedOffset.x() + borderLeft() + paddingLeft(), accumulatedOffset.y() + borderTop() + paddingTop()… in hitTestFlowThreadContents()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLTableElement.cpp279 static bool getBordersFromFrameAttributeValue(const AtomicString& value, bool& borderTop, bool& bor… in getBordersFromFrameAttributeValue() argument
281 borderTop = false; in getBordersFromFrameAttributeValue()
287 borderTop = true; in getBordersFromFrameAttributeValue()
291 borderTop = borderBottom = true; in getBordersFromFrameAttributeValue()
299 borderTop = borderBottom = borderLeft = borderRight = true; in getBordersFromFrameAttributeValue()
347 bool borderTop; in collectStyleForPresentationAttribute() local
351 … if (getBordersFromFrameAttributeValue(value, borderTop, borderRight, borderBottom, borderLeft)) { in collectStyleForPresentationAttribute()
353 …addPropertyToPresentationAttributeStyle(style, CSSPropertyBorderTopStyle, borderTop ? CSSValueSoli… in collectStyleForPresentationAttribute()
381 bool borderTop; in parseAttribute() local
385 …m_frameAttr = getBordersFromFrameAttributeValue(value, borderTop, borderRight, borderBottom, borde… in parseAttribute()
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXTable.cpp210 if ((cell->borderTop() > 0 && cell->borderBottom() > 0) in isDataTable()
216 if (cell->borderTop() > 0) in isDataTable()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorOverlay.cpp182 …Box = LayoutRect(paddingBox.x() - renderBox->borderLeft(), paddingBox.y() - renderBox->borderTop(), in buildNodeQuads()
183 …rderLeft() + renderBox->borderRight(), paddingBox.height() + renderBox->borderTop() + renderBox->b… in buildNodeQuads()
191 …= LayoutRect(borderBox.x() + renderInline->borderLeft(), borderBox.y() + renderInline->borderTop(), in buildNodeQuads()
192 …eft() - renderInline->borderRight(), borderBox.height() - renderInline->borderTop() - renderInline… in buildNodeQuads()

12