Index: trunk/Source/core/rendering/RenderImage.cpp |
=================================================================== |
--- trunk/Source/core/rendering/RenderImage.cpp (revision 157750) |
+++ trunk/Source/core/rendering/RenderImage.cpp (working copy) |
@@ -517,9 +517,6 @@ |
// Background shows in padding area. |
if ((backgroundClip == BorderFillBox || backgroundClip == PaddingFillBox) && style()->hasPadding()) |
return false; |
- // Object-position may leave parts of the content box empty, regardless of the value of object-fit. |
- if (style()->objectPosition() != RenderStyle::initialObjectPosition()) |
- return false; |
// Object-fit may leave parts of the content box empty. |
ObjectFit objectFit = style()->objectFit(); |
if (objectFit != ObjectFitFill && objectFit != ObjectFitCover) |