Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DRenderStyle.cpp1673 float radiiSum; in calcBorderRadiiConstraintScaleFor() local
1676radiiSum = radii.topLeft().width() + radii.topRight().width(); // Casts to avoid integer overflow. in calcBorderRadiiConstraintScaleFor()
1677 if (radiiSum > rect.width()) in calcBorderRadiiConstraintScaleFor()
1678 factor = std::min(rect.width() / radiiSum, factor); in calcBorderRadiiConstraintScaleFor()
1681 radiiSum = radii.bottomLeft().width() + radii.bottomRight().width(); in calcBorderRadiiConstraintScaleFor()
1682 if (radiiSum > rect.width()) in calcBorderRadiiConstraintScaleFor()
1683 factor = std::min(rect.width() / radiiSum, factor); in calcBorderRadiiConstraintScaleFor()
1686 radiiSum = radii.topLeft().height() + radii.bottomLeft().height(); in calcBorderRadiiConstraintScaleFor()
1687 if (radiiSum > rect.height()) in calcBorderRadiiConstraintScaleFor()
1688 factor = std::min(rect.height() / radiiSum, factor); in calcBorderRadiiConstraintScaleFor()
[all …]