Bug 912953 - Apply the scroll offset transform to inactive layer managers for LAYER_SVG_EFFECTS, too. r=roc

This commit is contained in:
Markus Stange 2013-09-06 11:28:02 +02:00
parent f97efb763e
commit 638049433d

View File

@ -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