Bug 812665 - Look for placeholders in continuations and special siblings too. r=roc

This commit is contained in:
Mats Palmgren
2012-11-19 20:35:12 +01:00
parent b2e3e499d0
commit adc3898fac

View File

@@ -8048,7 +8048,13 @@ NeedToReframeForAddingOrRemovingTransform(nsIFrame* aFrame)
positionMask = (1 << NS_STYLE_POSITION_FIXED) |
(1 << NS_STYLE_POSITION_ABSOLUTE);
}
return FrameHasPositionedPlaceholderDescendants(aFrame, positionMask);
for (nsIFrame* f = aFrame; f;
f = nsLayoutUtils::GetNextContinuationOrSpecialSibling(f)) {
if (FrameHasPositionedPlaceholderDescendants(f, positionMask)) {
return true;
}
}
return false;
}
nsresult