HomeSort by relevance Sort by last modified time
    Searched refs:constrainedSize (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderReplaced.cpp 275 void RenderReplaced::computeAspectRatioInformationForRenderBox(RenderBox* contentRenderer, FloatSize& constrainedSize, double& intrinsicRatio, bool& isPercentageIntrinsicSize) const
319 constrainedSize = intrinsicSize;
323 constrainedSize.setWidth(RenderBox::computeReplacedLogicalHeight() * intrinsicSize.width() / intrinsicSize.height());
324 constrainedSize.setHeight(RenderBox::computeReplacedLogicalWidth() * intrinsicSize.height() / intrinsicSize.width());
392 FloatSize constrainedSize;
393 computeAspectRatioInformationForRenderBox(contentRenderer, constrainedSize, intrinsicRatio, isPercentageIntrinsicSize);
397 bool hasIntrinsicWidth = !isPercentageIntrinsicSize && constrainedSize.width() > 0;
401 return computeReplacedLogicalWidthRespectingMinMaxWidth(constrainedSize.width(), shouldComputePreferred);
403 bool hasIntrinsicHeight = !isPercentageIntrinsicSize && constrainedSize.height() > 0;
430 logicalWidth = logicalWidth * constrainedSize.width() / 100
    [all...]
RenderReplaced.h 86 void computeAspectRatioInformationForRenderBox(RenderBox*, FloatSize& constrainedSize, double& intrinsicRatio, bool& isPercentageIntrinsicSize) const;

Completed in 24 milliseconds