Index: Source/core/rendering/svg/RenderSVGContainer.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGContainer.cpp b/Source/core/rendering/svg/RenderSVGContainer.cpp |
index e95f6c48635c95ca8a3d84196ab5a7920d974340..74a667be8c8e38c0239dcc0eed4ea2a4b8dfbdcd 100644 |
--- a/Source/core/rendering/svg/RenderSVGContainer.cpp |
+++ b/Source/core/rendering/svg/RenderSVGContainer.cpp |
@@ -148,11 +148,11 @@ void RenderSVGContainer::paint(PaintInfo& paintInfo, const LayoutPoint&) |
} |
// FIXME: This really should be drawn from local coordinates, but currently we hack it |
- // to avoid our clip killing our outline rect. Thus we translate our |
+ // to avoid our clip killing our outline rect. Thus we translate our |
// outline rect into parent coords before drawing. |
// FIXME: This means our focus ring won't share our rotation like it should. |
// We should instead disable our clip during PaintPhaseOutline |
- if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && style()->outlineWidth() && style()->visibility() == VISIBLE) { |
+ if (paintInfo.phase == PaintPhaseForeground && style()->outlineWidth() && style()->visibility() == VISIBLE) { |
IntRect paintRectInParent = enclosingIntRect(localToParentTransform().mapRect(repaintRect)); |
paintOutline(paintInfo, paintRectInParent); |
} |