| Index: Source/core/rendering/RenderBlock.cpp
|
| diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp
|
| index 2218ef58cc7127d0831bc451adb4f5c91c9d7414..9681dc4e23d33c18a0c918addfc57e87eec7e2e4 100644
|
| --- a/Source/core/rendering/RenderBlock.cpp
|
| +++ b/Source/core/rendering/RenderBlock.cpp
|
| @@ -4744,7 +4744,7 @@ void RenderBlock::markAllDescendantsWithFloatsForLayout(RenderBox* floatToRemove
|
| if ((!floatToRemove && child->isFloatingOrOutOfFlowPositioned()) || !child->isRenderBlock())
|
| continue;
|
| RenderBlock* childBlock = toRenderBlock(child);
|
| - if ((floatToRemove ? childBlock->containsFloat(floatToRemove) : childBlock->containsFloats()) || childBlock->shrinkToAvoidFloats())
|
| + if (childBlock->isAnonymousBlock() || (floatToRemove ? childBlock->containsFloat(floatToRemove) : childBlock->containsFloats()) || childBlock->shrinkToAvoidFloats())
|
| childBlock->markAllDescendantsWithFloatsForLayout(floatToRemove, inLayout);
|
| }
|
| }
|
|
|