Chromium Code Reviews| Index: Source/core/rendering/RenderBox.cpp |
| diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp |
| index c61b1550b4cf4ff80fe2730faf714e914f443e8c..10f624b35634c34456c09df9ca0106d9162fdbb7 100644 |
| --- a/Source/core/rendering/RenderBox.cpp |
| +++ b/Source/core/rendering/RenderBox.cpp |
| @@ -186,7 +186,7 @@ void RenderBox::removeFloatingOrPositionedChildFromBlockLists() |
| for (RenderObject* curr = parent(); curr && !curr->isRenderView(); curr = curr->parent()) { |
| if (curr->isRenderBlock()) { |
| RenderBlock* currBlock = toRenderBlock(curr); |
| - if (!parentBlock || currBlock->containsFloat(this)) |
| + if (!parentBlock || parentBlock->isAnonymousBlock() || currBlock->containsFloat(this)) |
|
Julien - ping for review
2013/05/07 00:51:22
Patching only 2 functions for such a deep change s
|
| parentBlock = currBlock; |
| } |
| } |