Bug 389583. Move an assert so it doesn't fire bogusly. r=eli,sr=mats,a=dbaron

This commit is contained in:
roc+%cs.cmu.edu 2007-10-10 02:18:40 +00:00
Родитель f4f99aa976
Коммит 93f3fca5f8
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -3458,12 +3458,12 @@ nsBlockFrame::DoReflowInlineFrames(nsBlockReflowState& aState,
//
// What we do is to advance past the first float we find and
// then reflow the line all over again.
NS_ASSERTION(aState.IsImpactedByFloat(),
"redo line on totally empty line");
NS_ASSERTION(NS_UNCONSTRAINEDSIZE != aState.mAvailSpaceRect.height,
"unconstrained height on totally empty line");
if (aState.mAvailSpaceRect.height > 0) {
NS_ASSERTION(aState.IsImpactedByFloat(),
"redo line on totally empty line with non-empty band...");
aState.mY += aState.mAvailSpaceRect.height;
} else {
NS_ASSERTION(NS_UNCONSTRAINEDSIZE != aState.mReflowState.availableHeight,