Index: Source/core/rendering/RenderObject.h |
diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h |
index 113b8234b86c43408419ce2a87e4bf1e34ae4259..e7e27f85f8690df47f5449a0c617c4a84f887123 100644 |
--- a/Source/core/rendering/RenderObject.h |
+++ b/Source/core/rendering/RenderObject.h |
@@ -599,7 +599,7 @@ public: |
bool isSelectionBorder() const; |
- bool hasClip() const { return isOutOfFlowPositioned() && style()->hasClip(); } |
+ bool hasClip() const { return isOutOfFlowPositioned() && !style()->hasAutoClip(); } |
bool hasOverflowClip() const { return m_bitfields.hasOverflowClip(); } |
bool hasClipOrOverflowClip() const { return hasClip() || hasOverflowClip(); } |