| Index: Source/core/rendering/RenderBox.cpp
|
| diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp
|
| index 82ad9b84a965d0a9050590052bf5337c0038ba51..5efc61b7278892d64994dbd3c118c2fa45cca735 100644
|
| --- a/Source/core/rendering/RenderBox.cpp
|
| +++ b/Source/core/rendering/RenderBox.cpp
|
| @@ -1991,7 +1991,7 @@ void RenderBox::deleteLineBoxWrapper()
|
|
|
| LayoutRect RenderBox::clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer) const
|
| {
|
| - if (style()->visibility() != VISIBLE && !enclosingLayer()->hasVisibleContent())
|
| + if (style()->visibility() != VISIBLE && enclosingLayer()->subtreeIsInvisible())
|
| return LayoutRect();
|
|
|
| LayoutRect r = visualOverflowRect();
|
|
|