OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:constrainedSize
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderReplaced.cpp
264
void RenderReplaced::computeAspectRatioInformationForRenderBox(RenderBox* contentRenderer, FloatSize&
constrainedSize
, double& intrinsicRatio, bool& isPercentageIntrinsicSize) const
305
constrainedSize
= intrinsicSize;
309
constrainedSize
.setWidth(RenderBox::computeReplacedLogicalHeight() * intrinsicSize.width() / intrinsicSize.height());
310
constrainedSize
.setHeight(RenderBox::computeReplacedLogicalWidth() * intrinsicSize.height() / intrinsicSize.width());
338
FloatSize
constrainedSize
;
339
computeAspectRatioInformationForRenderBox(contentRenderer,
constrainedSize
, intrinsicRatio, isPercentageIntrinsicSize);
343
bool hasIntrinsicWidth = !isPercentageIntrinsicSize &&
constrainedSize
.width() > 0;
347
return computeReplacedLogicalWidthRespectingMinMaxWidth(
constrainedSize
.width(), shouldComputePreferred);
349
bool hasIntrinsicHeight = !isPercentageIntrinsicSize &&
constrainedSize
.height() > 0;
376
logicalWidth = logicalWidth *
constrainedSize
.width() / 100
[
all
...]
RenderReplaced.h
85
void computeAspectRatioInformationForRenderBox(RenderBox*, FloatSize&
constrainedSize
, double& intrinsicRatio, bool& isPercentageIntrinsicSize) const;
Completed in 2544 milliseconds