Bug 439204: Remove assertion "We placed a float where there was no room!" r=roc

This commit is contained in:
L. David Baron 2014-03-03 00:54:39 -08:00
Родитель c4abafa948
Коммит 0511ab14ec
2 изменённых файлов: 1 добавлений и 3 удалений

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

@ -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);