mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 01:55:44 +00:00
Bug 406985 - container objects not invalidating properly. r=jwatt, sr=roc
This commit is contained in:
parent
a7c2449462
commit
22a2469a58
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user