Bug 389583. Move an assert so it doesn't fire bogusly. r=eli,sr=mats,a=dbaron
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user