зеркало из https://github.com/mozilla/gecko-dev.git
Make sure that everything fits when wrapping is off; in addition give wrapped objects all the room that they want
This commit is contained in:
Родитель
3e7a231a39
Коммит
84222783bc
|
@ -410,6 +410,10 @@ nsInlineReflow::ComputeAvailableSize()
|
||||||
mFrameAvailSize.height = mBottomEdge - pfd->mBounds.y -
|
mFrameAvailSize.height = mBottomEdge - pfd->mBounds.y -
|
||||||
pfd->mMargin.bottom;
|
pfd->mMargin.bottom;
|
||||||
}
|
}
|
||||||
|
if (mOuterReflowState.mNoWrap) {
|
||||||
|
mFrameAvailSize.width = mOuterReflowState.maxSize.width;
|
||||||
|
return PR_TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
// Give up now if there is no chance. Note that we allow a reflow if
|
// Give up now if there is no chance. Note that we allow a reflow if
|
||||||
// the available space is zero because that way things that end up
|
// the available space is zero because that way things that end up
|
||||||
|
|
Загрузка…
Ссылка в новой задаче