Searched refs:valueForLength (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/
H A DLengthFunctions.h40 PLATFORM_EXPORT LayoutUnit valueForLength(const Length&, LayoutUnit maximumValue);
H A DLengthFunctions.cpp34 return static_cast<int>(valueForLength(length, maximumValue));
101 LayoutUnit valueForLength(const Length& length, LayoutUnit maximumValue) function in namespace:blink
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderBox.cpp599 return valueForLength(style()->boxReflect()->offset(), borderBoxRect().width());
600 return valueForLength(style()->boxReflect()->offset(), borderBoxRect().height());
1443 LayoutUnit c = valueForLength(style()->clipLeft(), borderBoxRect.width());
1449 clipRect.contract(width() - valueForLength(style()->clipRight(), width()), 0);
1452 LayoutUnit c = valueForLength(style()->clipTop(), borderBoxRect.height());
1458 clipRect.contract(0, height() - valueForLength(style()->clipBottom(), height()));
2030 return adjustBorderBoxLogicalWidthForBoxSizing(valueForLength(logicalWidth, availableLogicalWidth));
2460 LayoutUnit result = valueForLength(height, availableHeight);
2589 return adjustContentBoxLogicalHeightForBoxSizing(valueForLength(logicalHeight, newHeight));
2610 return valueForLength(logicalHeigh
[all...]
H A DRenderBoxModelObject.cpp207 offset.setWidth(-valueForLength(style()->right(), containingBlock->availableWidth()));
209 offset.expand(valueForLength(style()->left(), containingBlock->availableWidth()), 0);
211 offset.expand(-valueForLength(style()->right(), containingBlock->availableWidth()), 0);
224 offset.expand(0, valueForLength(style()->top(), containingBlock->availableHeight()));
230 offset.expand(0, -valueForLength(style()->bottom(), containingBlock->availableHeight()));
H A DFixedTableLayout.cpp235 calcWidth[i] = valueForLength(m_width[i], tableLogicalWidth);
H A DRenderTableCell.h104 int styleLogicalHeight = valueForLength(style()->logicalHeight(), 0);
H A DRootInlineBox.cpp770 verticalPosition -= valueForLength(renderer->style()->verticalAlignLength(), lineHeight);
H A DRenderGrid.cpp543 return valueForLength(trackLength, direction == ForColumns ? logicalWidth() : computeContentLogicalHeight(style()->logicalHeight(), -1));
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DRenderStyle.cpp939 IntSize(valueForLength(border.topLeft().width(), size.width()),
940 valueForLength(border.topLeft().height(), size.height())),
941 IntSize(valueForLength(border.topRight().width(), size.width()),
942 valueForLength(border.topRight().height(), size.height())),
943 IntSize(valueForLength(border.bottomLeft().width(), size.width()),
944 valueForLength(border.bottomLeft().height(), size.height())),
945 IntSize(valueForLength(border.bottomRight().width(), size.width()),
946 valueForLength(border.bottomRight().height(), size.height())));
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGRoot.cpp121 return static_cast<LayoutUnit>(valueForLength(length, maxSize) * (length.isFixed() ? scale : 1));
/external/chromium_org/third_party/WebKit/Source/core/paint/
H A DBoxPainter.cpp820 tileSize.setWidth(valueForLength(layerWidth, positioningAreaSize.width()));
825 tileSize.setHeight(valueForLength(layerHeight, positioningAreaSize.height()));
874 return valueForLength(borderSlice.length(), boxExtent);
904 int topSlice = std::min<int>(imageHeight, valueForLength(ninePieceImage.imageSlices().top(), imageHeight)) * imageScaleFactor;
905 int rightSlice = std::min<int>(imageWidth, valueForLength(ninePieceImage.imageSlices().right(), imageWidth)) * imageScaleFactor;
906 int bottomSlice = std::min<int>(imageHeight, valueForLength(ninePieceImage.imageSlices().bottom(), imageHeight)) * imageScaleFactor;
907 int leftSlice = std::min<int>(imageWidth, valueForLength(ninePieceImage.imageSlices().left(), imageWidth)) * imageScaleFactor;
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DStyleBuilderCustom.cpp316 lineHeight = Length(valueForLength(zoomedLength, state.style()->fontSize()), Fixed);
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DDocument.cpp2033 width = valueForLength(size.width(), 0);
2034 height = valueForLength(size.height(), 0);
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSComputedStyleDeclaration.cpp627 return zoomAdjustedPixelValue(valueForLength(l, containingBlockSize), style);

Completed in 1189 milliseconds