Bug 656130 - Part 1: Make sure that the absolute containing frame to be returned is actually marked as such in the frame tree; r=bzbarsky
This commit is contained in:
@@ -88,6 +88,7 @@ void
|
||||
nsHTMLButtonControlFrame::DestroyFrom(nsIFrame* aDestructRoot)
|
||||
{
|
||||
nsFormControlFrame::RegUnRegAccessKey(static_cast<nsIFrame*>(this), PR_FALSE);
|
||||
DestroyAbsoluteFrames(aDestructRoot);
|
||||
nsHTMLContainerFrame::DestroyFrom(aDestructRoot);
|
||||
}
|
||||
|
||||
@@ -281,7 +282,7 @@ nsHTMLButtonControlFrame::Reflow(nsPresContext* aPresContext,
|
||||
|
||||
aDesiredSize.SetOverflowAreasToDesiredBounds();
|
||||
ConsiderChildOverflow(aDesiredSize.mOverflowAreas, firstKid);
|
||||
FinishAndStoreOverflow(&aDesiredSize);
|
||||
FinishReflowWithAbsoluteFrames(aPresContext, aDesiredSize, aReflowState, aStatus);
|
||||
|
||||
aStatus = NS_FRAME_COMPLETE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user