Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
index 8bb6738cf88e12901f541671d79bb96c3262b692..a5a60a869a8a8ebc86782c06c3838388b850ce03 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -2529,7 +2529,7 @@ PassRefPtrWillBeRawPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValu |
case CSSPropertyBorderTopRightRadius: |
return valueForBorderRadiusCorner(style->borderTopRightRadius(), *style); |
case CSSPropertyClip: { |
- if (!style->hasClip()) |
+ if (style->hasAutoClip()) |
return cssValuePool().createIdentifierValue(CSSValueAuto); |
RefPtrWillBeRawPtr<Rect> rect = Rect::create(); |
rect->setTop(zoomAdjustedPixelValue(style->clip().top().value(), *style)); |