Index: Source/core/rendering/RenderBlock.cpp |
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp |
index 2f67a4372395d71a7b31ea12f4f090b459336c51..3da6c555ebdc58450e6d9cd315ffce4d38ffa06e 100644 |
--- a/Source/core/rendering/RenderBlock.cpp |
+++ b/Source/core/rendering/RenderBlock.cpp |
@@ -2160,6 +2160,11 @@ void RenderBlock::paintObject(PaintInfo& paintInfo, const LayoutPoint& paintOffs |
return; |
} |
+ if (paintPhase == PaintPhaseClippingMask && style()->visibility() == VISIBLE) { |
+ paintClippingMask(paintInfo, paintOffset); |
+ return; |
+ } |
+ |
// We're done. We don't bother painting any children. |
if (paintPhase == PaintPhaseBlockBackground || paintInfo.paintRootBackgroundOnly()) |
return; |