Additional patch for bug 369150, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@224374 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1019,7 +1019,12 @@ nsHTMLFramesetFrame::Reflow(nsPresContext* aPresContext,
|
||||
ourContent->GetColSpec(&cols, &colSpecs);
|
||||
// If the number of cols or rows has changed, the frame for the frameset
|
||||
// will be re-created.
|
||||
NS_ENSURE_STATE(mNumRows == rows && mNumCols == cols);
|
||||
if (mNumRows != rows || mNumCols != cols) {
|
||||
aStatus = NS_FRAME_COMPLETE;
|
||||
mDrag.UnSet();
|
||||
NS_FRAME_SET_TRUNCATION(aStatus, aReflowState, aDesiredSize);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
if (!mDrag.mActive) {
|
||||
CalculateRowCol(aPresContext, width, mNumCols, colSpecs, mColSizes);
|
||||
|
||||
Reference in New Issue
Block a user