Searched refs:trackSize (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
D | SliderThumbElement.cpp | 127 LayoutUnit trackSize; in setPositionFromPoint() local 139 trackSize = trackElement->renderBox()->contentHeight() - renderBox()->height(); in setPositionFromPoint() 143 trackSize = trackElement->renderBox()->contentWidth() - renderBox()->width(); in setPositionFromPoint() 148 position = std::max<LayoutUnit>(0, std::min(position, trackSize)); in setPositionFromPoint() 149 const Decimal ratio = Decimal::fromDouble(static_cast<double>(position) / trackSize); in setPositionFromPoint() 158 LayoutUnit closestPosition = trackSize * closestRatio; in setPositionFromPoint()
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderGrid.cpp | 426 GridTrackSize trackSize = gridTrackSize(direction, i); in computeUsedBreadthOfGridTracks() local 427 const GridLength& minTrackBreadth = trackSize.minTrackBreadth(); in computeUsedBreadthOfGridTracks() 428 const GridLength& maxTrackBreadth = trackSize.maxTrackBreadth(); in computeUsedBreadthOfGridTracks() 436 if (trackSize.isContentSized()) in computeUsedBreadthOfGridTracks() 438 if (trackSize.maxTrackBreadth().isFlex()) in computeUsedBreadthOfGridTracks() 480 GridTrackSize trackSize = gridTrackSize(direction, trackIndex); in computeUsedBreadthOfGridTracks() local 481 … std::max(normalizedFractionBreadth, tracks[trackIndex].m_usedBreadth / trackSize.maxTrackBreadth(… in computeUsedBreadthOfGridTracks() 502 GridTrackSize trackSize = gridTrackSize(direction, trackIndex); in computeUsedBreadthOfGridTracks() local 504 …youtUnit>(tracks[trackIndex].m_usedBreadth, normalizedFractionBreadth * trackSize.maxTrackBreadth(… in computeUsedBreadthOfGridTracks() 557 GridTrackSize trackSize = gridTrackSize(direction, resolvedPosition.toInt()); in computeNormalizedFractionBreadth() local [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | CSSComputedStyleDeclaration.cpp | 859 …lBeRawPtr<CSSValue> specifiedValueForGridTrackSize(const GridTrackSize& trackSize, const RenderSty… in specifiedValueForGridTrackSize() argument 861 switch (trackSize.type()) { in specifiedValueForGridTrackSize() 863 return specifiedValueForGridTrackBreadth(trackSize.length(), style); in specifiedValueForGridTrackSize() 866 …minMaxTrackBreadths->append(specifiedValueForGridTrackBreadth(trackSize.minTrackBreadth(), style)); in specifiedValueForGridTrackSize() 867 …minMaxTrackBreadths->append(specifiedValueForGridTrackBreadth(trackSize.maxTrackBreadth(), style)); in specifiedValueForGridTrackSize()
|
/external/chromium_org/third_party/WebKit/Source/core/css/parser/ |
D | CSSPropertyParser.cpp | 3626 RefPtrWillBeRawPtr<CSSValue> trackSize = parseGridTrackSize(*arguments); in parseGridTrackRepeatFunction() local 3627 if (!trackSize) in parseGridTrackRepeatFunction() 3630 repeatedValues->append(trackSize); in parseGridTrackRepeatFunction()
|