Index: Source/core/rendering/svg/SVGRenderingContext.cpp |
diff --git a/Source/core/rendering/svg/SVGRenderingContext.cpp b/Source/core/rendering/svg/SVGRenderingContext.cpp |
index 216a847dfc61f858c4e181f1f0ffe677415fda03..0d10e2e132e7b2704c659eb2413a7569a54680b1 100644 |
--- a/Source/core/rendering/svg/SVGRenderingContext.cpp |
+++ b/Source/core/rendering/svg/SVGRenderingContext.cpp |
@@ -226,7 +226,9 @@ void SVGRenderingContext::calculateTransformationToOutermostCoordinateSystem(con |
absoluteTransform = layerTransform->toAffineTransform() * absoluteTransform; |
// We can stop at compositing layers, to match the backing resolution. |
- if (layer->isComposited()) |
+ // FIXME: should we be computing the transform to the nearest composited layer, |
+ // or the nearest composited layer that does not paint into its ancestor? |
+ if (layer->backing()) |
break; |
layer = layer->parent(); |