зеркало из https://github.com/mozilla/gecko-dev.git
Bug 439204: Remove assertion "We placed a float where there was no room!" r=roc
This commit is contained in:
Родитель
c4abafa948
Коммит
0511ab14ec
|
@ -105,7 +105,7 @@ load 375831.html
|
|||
load 376419.html
|
||||
load 377522.html
|
||||
load 379217-1.xhtml
|
||||
asserts(1-2) load 379217-2.xhtml # Bug 439204
|
||||
load 379217-2.xhtml
|
||||
load 379917-1.xhtml
|
||||
load 380012-1.html
|
||||
load 381152-1.html
|
||||
|
|
|
@ -323,8 +323,6 @@ nsLineLayout::UpdateBand(const nsRect& aNewAvailSpace,
|
|||
for (PerSpanData* psd = mCurrentSpan; psd; psd = psd->mParent) {
|
||||
psd->mRightEdge += deltaWidth;
|
||||
psd->mContainsFloat = true;
|
||||
NS_ASSERTION(psd->mX - mTrimmableWidth <= psd->mRightEdge,
|
||||
"We placed a float where there was no room!");
|
||||
#ifdef NOISY_REFLOW
|
||||
printf(" span %p: oldRightEdge=%d newRightEdge=%d\n",
|
||||
psd, psd->mRightEdge - deltaRightEdge, psd->mRightEdge);
|
||||
|
|
Загрузка…
Ссылка в новой задаче