| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index 4426b10477d04bd60174b3d1927f85d579275410..6cf5cdc5674aa8c80067503520b2672dd42ef2dc 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -4015,7 +4015,7 @@ static bool shouldBeConsideredAsReplaced(Node* node)
|
|
|
| bool LayoutBox::avoidsFloats() const
|
| {
|
| - return isAtomicInlineLevel() || shouldBeConsideredAsReplaced(node()) || hasOverflowClip() || isHR() || isLegend() || isWritingModeRoot() || isFlexItemIncludingDeprecated();
|
| + return isAtomicInlineLevel() || shouldBeConsideredAsReplaced(node()) || hasOverflowClip() || isHR() || isLegend() || isWritingModeRoot() || isFlexItemIncludingDeprecated() || style()->containsPaint();
|
| }
|
|
|
| bool LayoutBox::hasNonCompositedScrollbars() const
|
|
|