| Index: sky/engine/core/rendering/RenderReplaced.cpp
|
| diff --git a/sky/engine/core/rendering/RenderReplaced.cpp b/sky/engine/core/rendering/RenderReplaced.cpp
|
| index 61f69518872ce625bd02024b0f0feb4f8ce34137..59f343f84d21bc2fabdc66e3274221d5379ebefd 100644
|
| --- a/sky/engine/core/rendering/RenderReplaced.cpp
|
| +++ b/sky/engine/core/rendering/RenderReplaced.cpp
|
| @@ -236,7 +236,7 @@ void RenderReplaced::computeAspectRatioInformationForRenderBox(FloatSize& constr
|
| constrainedSize = intrinsicSize;
|
| if (intrinsicRatio && !intrinsicSize.isEmpty() && style()->logicalWidth().isAuto() && style()->logicalHeight().isAuto()) {
|
| // We can't multiply or divide by 'intrinsicRatio' here, it breaks tests, like fast/images/zoomed-img-size.html, which
|
| - // can only be fixed once subpixel precision is available for things like intrinsicWidth/Height - which include zoom!
|
| + // can only be fixed once subpixel precision is available for things like intrinsicWidth/Height.
|
| constrainedSize.setWidth(RenderBox::computeReplacedLogicalHeight() * intrinsicSize.width() / intrinsicSize.height());
|
| constrainedSize.setHeight(RenderBox::computeReplacedLogicalWidth() * intrinsicSize.height() / intrinsicSize.width());
|
| }
|
|
|