| Index: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| index 5c58aa44a1edfc27408f48239064e38e82799bcc..26734206465708d3ac6b017a74e5bbd0f3a1c080 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| @@ -362,7 +362,7 @@ void PaintPropertyTreeBuilder::updateOverflowClip(const LayoutObject& object, Pa
|
| LayoutRect clipRect;
|
| if (box.hasControlClip()) {
|
| clipRect = box.controlClipRect(context.current.paintOffset);
|
| - } else if (box.hasOverflowClip() || (box.isSVGRoot() && toLayoutSVGRoot(box).shouldApplyViewportClip())) {
|
| + } else if (box.hasOverflowClip() || box.styleRef().containsPaint() || (box.isSVGRoot() && toLayoutSVGRoot(box).shouldApplyViewportClip())) {
|
| clipRect = box.overflowClipRect(context.current.paintOffset);
|
| } else {
|
| if (ObjectPaintProperties* properties = object.getMutableForPainting().objectPaintProperties())
|
|
|