From 638049433dbada988a509743c0a04f861434fab0 Mon Sep 17 00:00:00 2001 From: Markus Stange Date: Fri, 6 Sep 2013 11:28:02 +0200 Subject: [PATCH] Bug 912953 - Apply the scroll offset transform to inactive layer managers for LAYER_SVG_EFFECTS, too. r=roc --- layout/base/FrameLayerBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/base/FrameLayerBuilder.cpp b/layout/base/FrameLayerBuilder.cpp index 2d9fe73358b..61caf8cccee 100644 --- a/layout/base/FrameLayerBuilder.cpp +++ b/layout/base/FrameLayerBuilder.cpp @@ -2661,7 +2661,7 @@ ChooseScaleAndSetTransform(FrameLayerBuilder* aLayerBuilder, } gfxMatrix transform2d; if (aContainerFrame && - aState == LAYER_INACTIVE && + (aState == LAYER_INACTIVE || aState == LAYER_SVG_EFFECTS) && (!aTransform || (aTransform->Is2D(&transform2d) && !transform2d.HasNonTranslation()))) { // When we have an inactive ContainerLayer, translate the container by the offset to the