Bug 812665 - Look for placeholders in continuations and special siblings too. r=roc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user