Chromium Code Reviews| Index: Source/core/rendering/RenderBlockFlow.cpp |
| diff --git a/Source/core/rendering/RenderBlockFlow.cpp b/Source/core/rendering/RenderBlockFlow.cpp |
| index 0d371aa66d299744b416c0eaf228cff9323deac4..f4ffdc1212bad3b3f94f4e56fa325b9171ceb482 100644 |
| --- a/Source/core/rendering/RenderBlockFlow.cpp |
| +++ b/Source/core/rendering/RenderBlockFlow.cpp |
| @@ -1826,7 +1826,7 @@ void RenderBlockFlow::markAllDescendantsWithFloatsForLayout(RenderBox* floatToRe |
| removeFloatingObject(floatToRemove); |
| // Iterate over our children and mark them as needed. |
| - if (!childrenInline()) { |
| + if (!childrenInline() || floatToRemove) { |
|
Julien - ping for review
2015/01/22 14:34:47
Does the childrenInline check still make sense?
|
| for (RenderObject* child = firstChild(); child; child = child->nextSibling()) { |
| if ((!floatToRemove && child->isFloatingOrOutOfFlowPositioned()) || !child->isRenderBlock()) |
| continue; |