| 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 31f903ada446ec6705d3c9dd1817412a3dc4e1c3..f8986d141ca7888851c88322342aabb4c99afd06 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -4058,7 +4058,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
|
|
|