Bug 406985 - container objects not invalidating properly. r=jwatt, sr=roc

This commit is contained in:
tor@cs.brown.edu 2007-12-19 10:24:34 -08:00
parent a7c2449462
commit 22a2469a58

View File

@ -736,7 +736,12 @@ nsSVGUtils::GetBBox(nsFrameList *aFrames, nsIDOMSVGRect **_retval)
nsRect
nsSVGUtils::FindFilterInvalidation(nsIFrame *aFrame)
{
nsRect rect = aFrame->GetRect();
nsISVGChildFrame *svgFrame = nsnull;
CallQueryInterface(aFrame, &svgFrame);
if (!svgFrame)
return nsRect();
nsRect rect = svgFrame->GetCoveredRegion();
while (aFrame) {
if (aFrame->GetStateBits() & NS_STATE_IS_OUTER_SVG)