зеркало из https://github.com/mozilla/pjs.git
Bug 389583. Move an assert so it doesn't fire bogusly. r=eli,sr=mats,a=dbaron
This commit is contained in:
Родитель
f4f99aa976
Коммит
93f3fca5f8
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче