| Index: Source/core/layout/LayoutObject.cpp
|
| diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp
|
| index 8e598baf627114250c0218325f45461bcb3fcd2e..139d31bc5efe1591ce2b3e8eeddc2ad42ab194d7 100644
|
| --- a/Source/core/layout/LayoutObject.cpp
|
| +++ b/Source/core/layout/LayoutObject.cpp
|
| @@ -609,6 +609,8 @@ LayoutFlowThread* LayoutObject::locateFlowThreadContainingBlock() const
|
| // Not in the middle of layout so have to find the thread the slow way.
|
| LayoutObject* curr = const_cast<LayoutObject*>(this);
|
| while (curr) {
|
| + if (curr->isSVG() && !curr->isSVGRoot())
|
| + return nullptr;
|
| if (curr->isLayoutFlowThread())
|
| return toLayoutFlowThread(curr);
|
| LayoutObject* containingBlock = curr->containingBlock();
|
|
|