| Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| index 997774bdc9a93ba40f2f01487f16fab6a0751c15..28e478118f2329eac4dc2df0122c1f4437280833 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| @@ -132,6 +132,11 @@ bool LayoutBoxModelObject::hasLocalEquivalentBackground() const
|
| }
|
| }
|
|
|
| + // TODO(flackr): When we correctly clip the scrolling contents layer we can
|
| + // paint locally equivalent backgrounds into it. https://crbug.com/645957
|
| + if (!style()->hasAutoClip())
|
| + return false;
|
| +
|
| // TODO(flackr): We should be able to paint locally attached borders with a border-radius
|
| // but these currently do not paint correctly. https://crbug.com/645949
|
| if (style()->hasBorderRadius())
|
|
|