Fix elements with max-width overlapping floats due to initial incorrect position by reflow state. b=52916 Patch by Chris Waterson. r=dbaron sr=bzbarsky

git-svn-id: svn://10.0.0.236/trunk@151483 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%dbaron.org 2004-01-18 06:06:13 +00:00
parent d50fd19d7c
commit a06e2c19f8
2 changed files with 2 additions and 0 deletions

View File

@ -1972,6 +1972,7 @@ nsHTMLReflowState::ComputeBlockBoxData(nsIPresContext* aPresContext,
}
AdjustComputedWidth(PR_FALSE);
CalculateBlockSideMargins(cbrs->mComputedWidth, mComputedWidth);
}
}
} else {

View File

@ -1972,6 +1972,7 @@ nsHTMLReflowState::ComputeBlockBoxData(nsIPresContext* aPresContext,
}
AdjustComputedWidth(PR_FALSE);
CalculateBlockSideMargins(cbrs->mComputedWidth, mComputedWidth);
}
}
} else {