Make vertical resizing of framesets work in standards mode. Bug 376981, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@237878 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -571,6 +571,13 @@ CanvasFrame::Reflow(nsPresContext* aPresContext,
|
||||
nsSize(aReflowState.availableWidth,
|
||||
NS_UNCONSTRAINEDSIZE));
|
||||
|
||||
if (aReflowState.mFlags.mVResize &&
|
||||
(kidFrame->GetStateBits() & NS_FRAME_CONTAINS_RELATIVE_HEIGHT)) {
|
||||
// Tell our kid it's being vertically resized too. Bit of a
|
||||
// hack for framesets.
|
||||
kidReflowState.mFlags.mVResize = PR_TRUE;
|
||||
}
|
||||
|
||||
// Reflow the frame
|
||||
ReflowChild(kidFrame, aPresContext, kidDesiredSize, kidReflowState,
|
||||
kidReflowState.mComputedMargin.left, kidReflowState.mComputedMargin.top,
|
||||
|
||||
Reference in New Issue
Block a user