| Index: Source/core/rendering/svg/RenderSVGRoot.cpp
|
| diff --git a/Source/core/rendering/svg/RenderSVGRoot.cpp b/Source/core/rendering/svg/RenderSVGRoot.cpp
|
| index 3726059f15e3f1c6ceceac4014ab1554396f8977..885046da3772b8bb683882e00d38ad7f4aa43e37 100644
|
| --- a/Source/core/rendering/svg/RenderSVGRoot.cpp
|
| +++ b/Source/core/rendering/svg/RenderSVGRoot.cpp
|
| @@ -228,6 +228,10 @@ void RenderSVGRoot::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paint
|
| if (paintInfo.context->paintingDisabled())
|
| return;
|
|
|
| + // SVG outlines are painted during PaintPhaseForeground.
|
| + if (paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline)
|
| + return;
|
| +
|
| // An empty viewBox also disables rendering.
|
| // (http://www.w3.org/TR/SVG/coords.html#ViewBoxAttribute)
|
| SVGSVGElement* svg = toSVGSVGElement(node());
|
|
|