Chromium Code Reviews| Index: Source/core/rendering/RenderInline.cpp |
| diff --git a/Source/core/rendering/RenderInline.cpp b/Source/core/rendering/RenderInline.cpp |
| index daf7678c7e020b739b234e12842d8fc138b19995..b85e3dc24d239e25a2154f72c31f84fb71340eeb 100644 |
| --- a/Source/core/rendering/RenderInline.cpp |
| +++ b/Source/core/rendering/RenderInline.cpp |
| @@ -302,7 +302,7 @@ void RenderInline::addChildIgnoringContinuation(RenderObject* newChild, RenderOb |
| if (!beforeChild && isAfterContent(lastChild())) |
| beforeChild = lastChild(); |
| - if (!newChild->isInline() && !newChild->isFloatingOrOutOfFlowPositioned()) { |
| + if (!newChild->isInline() && !newChild->isTablePart() && !newChild->isFloatingOrOutOfFlowPositioned()) { |
|
esprehn
2013/09/04 07:19:42
Why is this change correct for continuations?
a.suchit
2013/09/04 13:15:02
Table parts should wrap with anonymous block or in
|
| // We are placing a block inside an inline. We have to perform a split of this |
| // inline into continuations. This involves creating an anonymous block box to hold |
| // |newChild|. We then make that block box a continuation of this inline. We take all of |