Home
last modified time | relevance | path

Searched refs:borderBox (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DMetricsSidebarPane.js202 var borderBox = self._getBox(style, "border");
205 … width = width - borderBox.left - borderBox.right - paddingBox.left - paddingBox.right;
215 var borderBox = self._getBox(style, "border");
218 … height = height - borderBox.top - borderBox.bottom - paddingBox.top - paddingBox.bottom;
414 var borderBox = this._getBox(computedStyle, "border");
420 … userValuePx += borderBox.left + borderBox.right + paddingBox.left + paddingBox.right;
422 … userValuePx += borderBox.top + borderBox.bottom + paddingBox.top + paddingBox.bottom;
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorOverlay.cpp169 LayoutRect borderBox; in buildNodeQuads() local
182borderBox = LayoutRect(paddingBox.x() - renderBox->borderLeft(), paddingBox.y() - renderBox->borde… in buildNodeQuads()
184 …marginBox = LayoutRect(borderBox.x() - renderBox->marginLeft(), borderBox.y() - renderBox->marginT… in buildNodeQuads()
185borderBox.width() + renderBox->marginWidth(), borderBox.height() + renderBox->marginHeight()); in buildNodeQuads()
190 borderBox = renderInline->linesBoundingBox(); in buildNodeQuads()
191 …paddingBox = LayoutRect(borderBox.x() + renderInline->borderLeft(), borderBox.y() + renderInline->… in buildNodeQuads()
192borderBox.width() - renderInline->borderLeft() - renderInline->borderRight(), borderBox.height() -… in buildNodeQuads()
196 marginBox = LayoutRect(borderBox.x() - renderInline->marginLeft(), borderBox.y(), in buildNodeQuads()
197 borderBox.width() + renderInline->marginWidth(), borderBox.height()); in buildNodeQuads()
202 FloatQuad absBorderQuad = renderer->localToAbsoluteQuad(FloatRect(borderBox)); in buildNodeQuads()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderTheme.cpp134 …LengthBox borderBox(style->borderTopWidth(), style->borderRightWidth(), style->borderBottomWidth()… in adjustStyle() local
135borderBox = m_platformTheme->controlBorder(part, style->font().fontDescription(), borderBox, style… in adjustStyle()
136 if (borderBox.top().value() != static_cast<int>(style->borderTopWidth())) { in adjustStyle()
137 if (borderBox.top().value()) in adjustStyle()
138 style->setBorderTopWidth(borderBox.top().value()); in adjustStyle()
142 if (borderBox.right().value() != static_cast<int>(style->borderRightWidth())) { in adjustStyle()
143 if (borderBox.right().value()) in adjustStyle()
144 style->setBorderRightWidth(borderBox.right().value()); in adjustStyle()
148 if (borderBox.bottom().value() != static_cast<int>(style->borderBottomWidth())) { in adjustStyle()
149 style->setBorderBottomWidth(borderBox.bottom().value()); in adjustStyle()
[all …]
DCompositedLayerMapping.h232 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const;
234 FloatPoint computePerspectiveOrigin(const IntRect& borderBox) const;
DRenderLayerScrollableArea.cpp868 const IntRect borderBox = m_box->pixelSnappedBorderBoxRect(); in positionOverflowControls() local
870 IntRect vBarRect = rectForVerticalScrollbar(borderBox); in positionOverflowControls()
876 IntRect hBarRect = rectForHorizontalScrollbar(borderBox); in positionOverflowControls()
886 m_resizer->setFrameRect(resizerCornerRect(borderBox, ResizerForPointer)); in positionOverflowControls()
1074 const IntRect borderBox = m_box->pixelSnappedBorderBoxRect(); in overflowControlsIntersectRect() local
1076 if (rectForHorizontalScrollbar(borderBox).intersects(localRect)) in overflowControlsIntersectRect()
1079 if (rectForVerticalScrollbar(borderBox).intersects(localRect)) in overflowControlsIntersectRect()
1085 if (resizerCornerRect(borderBox, ResizerForPointer).intersects(localRect)) in overflowControlsIntersectRect()
DCompositedLayerMapping.cpp679 const IntRect borderBox = toRenderBox(renderer())->pixelSnappedBorderBoxRect(); in updateGraphicsLayerGeometry() local
682 IntRect layerBounds = IntRect(delta, borderBox.size()); in updateGraphicsLayerGeometry()
685 FloatPoint3D transformOrigin = computeTransformOrigin(borderBox); in updateGraphicsLayerGeometry()
1621 FloatPoint3D CompositedLayerMapping::computeTransformOrigin(const IntRect& borderBox) const in computeTransformOrigin()
1626 origin.setX(floatValueForLength(style->transformOriginX(), borderBox.width())); in computeTransformOrigin()
1627 origin.setY(floatValueForLength(style->transformOriginY(), borderBox.height())); in computeTransformOrigin()
1633 FloatPoint CompositedLayerMapping::computePerspectiveOrigin(const IntRect& borderBox) const in computePerspectiveOrigin()
1637 float boxWidth = borderBox.width(); in computePerspectiveOrigin()
1638 float boxHeight = borderBox.height(); in computePerspectiveOrigin()
DRenderBox.cpp1553 LayoutRect borderBox = borderBoxRect(); in maskClipRect() local
1557 calculateBackgroundImageGeometry(maskLayer, borderBox, geometry); in maskClipRect()
4414 LayoutRect borderBox = borderBoxRect(); in addVisualEffectOverflow() local
4415 LayoutUnit overflowMinX = borderBox.x(); in addVisualEffectOverflow()
4416 LayoutUnit overflowMaxX = borderBox.maxX(); in addVisualEffectOverflow()
4417 LayoutUnit overflowMinY = borderBox.y(); in addVisualEffectOverflow()
4418 LayoutUnit overflowMaxY = borderBox.maxY(); in addVisualEffectOverflow()
4429 overflowMinX = borderBox.x() + ((!isFlipped || isHorizontal) ? shadowLeft : -shadowRight); in addVisualEffectOverflow()
4430 … overflowMaxX = borderBox.maxX() + ((!isFlipped || isHorizontal) ? shadowRight : -shadowLeft); in addVisualEffectOverflow()
4431 overflowMinY = borderBox.y() + ((!isFlipped || !isHorizontal) ? shadowTop : -shadowBottom); in addVisualEffectOverflow()
[all …]
DRenderBlockFlow.cpp1640 … LayoutRect borderBox = child->borderBoxRectInRegion(region, DoNotCacheRenderBoxRegionInfo); in getClearDelta() local
1641 …gicalWidthAtOldLogicalTopOffset = isHorizontalWritingMode() ? borderBox.width() : borderBox.height… in getClearDelta()
1652 borderBox = child->borderBoxRectInRegion(region, DoNotCacheRenderBoxRegionInfo); in getClearDelta()
1653 …gicalWidthAtNewLogicalTopOffset = isHorizontalWritingMode() ? borderBox.width() : borderBox.height… in getClearDelta()
DRenderLayer.cpp1043 const IntRect borderBox = toRenderBox(renderer())->pixelSnappedBorderBoxRect(); in perspectiveTransform() local
1044 const float boxWidth = borderBox.width(); in perspectiveTransform()
1045 const float boxHeight = borderBox.height(); in perspectiveTransform()
1068 const LayoutRect borderBox = toRenderBox(renderer())->borderBoxRect(); in perspectiveOrigin() local
1071 return FloatPoint(floatValueForLength(style->perspectiveOriginX(), borderBox.width()), in perspectiveOrigin()
1072 floatValueForLength(style->perspectiveOriginY(), borderBox.height())); in perspectiveOrigin()
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/parse-only/
Dmootools-1.2.2-core-nc.js2343 if (!borderBox(element)){
2359 if (Browser.Engine.gecko && !borderBox(this)){
2433 function borderBox(element){ function
Dconcat-jquery-mootools-prototype.js6719 if (!borderBox(element)){
6735 if (Browser.Engine.gecko && !borderBox(this)){
6809 function borderBox(element){ function