Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderDeprecatedFlexibleBox.cpp513 float totalFlex = 0.0f; in layoutHorizontalBox() local
516 totalFlex += child->style()->boxFlex(); in layoutHorizontalBox()
522 …wedFlex == LayoutUnit::max()) ? allowedFlex : LayoutUnit(allowedFlex * (totalFlex / child->style()… in layoutHorizontalBox()
528 if (!spaceAvailableThisPass || totalFlex == 0.0f) { in layoutHorizontalBox()
535 …RenderBox* child = iterator.first(); child && spaceAvailableThisPass && totalFlex; child = iterato… in layoutHorizontalBox()
540 …LayoutUnit spaceAdd = LayoutUnit(spaceAvailableThisPass * (child->style()->boxFlex() / totalFlex)); in layoutHorizontalBox()
551 totalFlex -= child->style()->boxFlex(); in layoutHorizontalBox()
767 float totalFlex = 0.0f; in layoutVerticalBox() local
770 totalFlex += child->style()->boxFlex(); in layoutVerticalBox()
776 …youtUnit::max()) ? allowedFlex : static_cast<LayoutUnit>(allowedFlex * (totalFlex / child->style()… in layoutVerticalBox()
[all …]