| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index 80b5de729fdeeb9c48259570b3956b2a4805960d..3fa712caf4820221c2ff017aa472bb574ac96a9c 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -713,6 +713,10 @@ static inline bool objectIsRelayoutBoundary(const LayoutObject* object)
|
| if (object->isSVGRoot())
|
| return true;
|
|
|
| + // Table parts can't be relayout roots since the table is responsible for layouting all the parts.
|
| + if (object->isTablePart())
|
| + return false;
|
| +
|
| if (object->style()->containsLayout() && object->style()->containsSize())
|
| return true;
|
|
|
| @@ -722,10 +726,6 @@ static inline bool objectIsRelayoutBoundary(const LayoutObject* object)
|
| if (object->style()->width().isIntrinsicOrAuto() || object->style()->height().isIntrinsicOrAuto() || object->style()->height().hasPercent())
|
| return false;
|
|
|
| - // Table parts can't be relayout roots since the table is responsible for layouting all the parts.
|
| - if (object->isTablePart())
|
| - return false;
|
| -
|
| // Scrollbar parts can be removed during layout. Avoid the complexity of having to deal with that.
|
| if (object->isLayoutScrollbarPart())
|
| return false;
|
|
|