Index: Source/WebCore/rendering/svg/SVGRenderSupport.cpp |
=================================================================== |
--- Source/WebCore/rendering/svg/SVGRenderSupport.cpp (revision 118874) |
+++ Source/WebCore/rendering/svg/SVGRenderSupport.cpp (working copy) |
@@ -197,8 +197,10 @@ |
// When the layout size changed and when using relative values tell the RenderSVGShape to update its shape object |
if (child->isSVGShape()) |
toRenderSVGShape(child)->setNeedsShapeUpdate(); |
- else if (child->isSVGText()) |
+ else if (child->isSVGText()) { |
+ toRenderSVGText(child)->setNeedsTextMetricsUpdate(); |
toRenderSVGText(child)->setNeedsPositioningValuesUpdate(); |
+ } |
needsLayout = true; |
} |