Bug 369168, r+sr=roc

This commit is contained in:
Olli.Pettay@helsinki.fi 2007-03-22 17:01:36 -07:00
parent c882794449
commit 5efe36d569

View File

@ -1378,6 +1378,7 @@ nsHTMLFramesetFrame::RecalculateBorderResize()
// number of any type of children
PRUint32 numChildren = mContent->GetChildCount();
for (childIndex = 0; childIndex < numChildren; childIndex++) {
childTypes[childIndex] = BLANK;
nsIContent *child = mContent->GetChildAt(childIndex);
if (child->IsNodeOfType(nsINode::eHTML)) {
@ -1394,6 +1395,9 @@ nsHTMLFramesetFrame::RecalculateBorderResize()
}
}
}
for (; childIndex < numCells; ++childIndex) {
childTypes[childIndex] = BLANK;
}
// set the visibility and mouse sensitivity of borders
PRInt32 verX;