Index: Source/core/rendering/svg/RenderSVGText.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGText.cpp b/Source/core/rendering/svg/RenderSVGText.cpp |
index abcea71b7b20fb9a1c8c31636b0ea9d90470709c..947546a6cf3713044b34c24bc010b71dba0ccbe8 100644 |
--- a/Source/core/rendering/svg/RenderSVGText.cpp |
+++ b/Source/core/rendering/svg/RenderSVGText.cpp |
@@ -472,7 +472,6 @@ void RenderSVGText::paint(PaintInfo& paintInfo, const LayoutPoint&) |
return; |
if (paintInfo.phase != PaintPhaseForeground |
- && paintInfo.phase != PaintPhaseSelfOutline |
&& paintInfo.phase != PaintPhaseSelection) |
return; |
@@ -484,6 +483,12 @@ void RenderSVGText::paint(PaintInfo& paintInfo, const LayoutPoint&) |
blockInfo.applyTransform(localTransform, false); |
} |
RenderBlock::paint(blockInfo, LayoutPoint()); |
+ |
+ // Paint the outlines, if any |
+ if (paintInfo.phase == PaintPhaseForeground) { |
+ blockInfo.phase = PaintPhaseSelfOutline; |
+ RenderBlock::paint(blockInfo, LayoutPoint()); |
+ } |
} |
FloatRect RenderSVGText::strokeBoundingBox() const |