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:
parent
8e17f9e364
commit
ef09b51fd6
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user