Bug 287352. Use wrappedFrame not frame, stupid. r+sr=bzarsky

git-svn-id: svn://10.0.0.236/trunk@171073 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
roc+%cs.cmu.edu 2005-03-23 21:27:51 +00:00
parent 8e17f9e364
commit ef09b51fd6

View File

@ -7901,11 +7901,11 @@ nsCSSFrameConstructor::GetAbsoluteContainingBlock(nsIFrame* aFrame)
if (nsLayoutAtoms::areaFrame == frameType ||
nsLayoutAtoms::blockFrame == frameType ||
nsLayoutAtoms::positionedInlineFrame == frameType) {
containingBlock = frame;
containingBlock = wrappedFrame;
} else if (nsLayoutAtoms::fieldSetFrame == frameType) {
// If the positioned frame is a fieldset, use the area frame inside it.
// We don't use GetContentInsertionFrame for fieldsets yet.
containingBlock = frame->GetFirstChild(nsnull);
containingBlock = wrappedFrame->GetFirstChild(nsnull);
}
}