Index: Source/core/paint/SVGTextPainter.cpp |
diff --git a/Source/core/paint/SVGTextPainter.cpp b/Source/core/paint/SVGTextPainter.cpp |
index 5c80177165e5aa16d99883d9556de86be56264b0..bbf24a24053874ea5e88b09873801a9a066f0729 100644 |
--- a/Source/core/paint/SVGTextPainter.cpp |
+++ b/Source/core/paint/SVGTextPainter.cpp |
@@ -22,6 +22,10 @@ void SVGTextPainter::paint(const PaintInfo& paintInfo) |
blockInfo.applyTransform(m_renderSVGText.localToParentTransform(), &stateSaver); |
+ // When transitioning from SVG to block painters we need to keep the PaintInfo rect up-to-date |
+ // because it can be used for clipping. |
+ m_renderSVGText.updatePaintInfoRect(blockInfo.rect); |
+ |
BlockPainter(m_renderSVGText).paint(blockInfo, LayoutPoint()); |
// Paint the outlines, if any |