| Index: Source/core/layout/svg/LayoutSVGText.cpp
|
| diff --git a/Source/core/layout/svg/LayoutSVGText.cpp b/Source/core/layout/svg/LayoutSVGText.cpp
|
| index 77badd66b6301b33606001631a76f818fb8f98ce..458fb85b4f7dfefb6a3199e04c41bad8e0e2f526 100644
|
| --- a/Source/core/layout/svg/LayoutSVGText.cpp
|
| +++ b/Source/core/layout/svg/LayoutSVGText.cpp
|
| @@ -395,6 +395,10 @@ void LayoutSVGText::layout()
|
| if (m_needsReordering)
|
| m_needsReordering = false;
|
|
|
| + // If we don't have any line boxes, then make sure the frame rect is still cleared.
|
| + if (!firstLineBox())
|
| + setFrameRect(LayoutRect());
|
| +
|
| if (!updateCachedBoundariesInParents)
|
| updateCachedBoundariesInParents = oldBoundaries != objectBoundingBox();
|
|
|
|
|