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:
Olli.Pettay%helsinki.fi
2007-04-10 19:08:21 +00:00
parent 779b4020fb
commit f8562f7d9c

View File

@@ -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);