Fixed centering of list bullets (bug #4040)

This commit is contained in:
kipp%netscape.com 1999-03-20 01:37:43 +00:00
Родитель 3f70099584
Коммит e783e42229
6 изменённых файлов: 18 добавлений и 18 удалений

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

@ -2822,9 +2822,6 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
}
nsSize maxElementSize;
lineLayout->VerticalAlignFrames(aLine->mBounds, maxElementSize);
if (addedBullet) {
lineLayout->RemoveBulletFrame(mBullet);
}
#ifdef DEBUG_kipp
NS_ASSERTION((aLine->mBounds.YMost()) < 200000 && (aLine->mBounds.y > -200000), "oy");
#endif
@ -2843,6 +2840,9 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
lineLayout->TrimTrailingWhiteSpace(aLine->mBounds);
lineLayout->HorizontalAlignFrames(aLine->mBounds, allowJustify);
lineLayout->RelativePositionFrames(aLine->mCombinedArea);
if (addedBullet) {
lineLayout->RemoveBulletFrame(mBullet);
}
// Calculate the bottom margin for the line.
nscoord lineBottomMargin = 0;

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

@ -2822,9 +2822,6 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
}
nsSize maxElementSize;
lineLayout->VerticalAlignFrames(aLine->mBounds, maxElementSize);
if (addedBullet) {
lineLayout->RemoveBulletFrame(mBullet);
}
#ifdef DEBUG_kipp
NS_ASSERTION((aLine->mBounds.YMost()) < 200000 && (aLine->mBounds.y > -200000), "oy");
#endif
@ -2843,6 +2840,9 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
lineLayout->TrimTrailingWhiteSpace(aLine->mBounds);
lineLayout->HorizontalAlignFrames(aLine->mBounds, allowJustify);
lineLayout->RelativePositionFrames(aLine->mCombinedArea);
if (addedBullet) {
lineLayout->RemoveBulletFrame(mBullet);
}
// Calculate the bottom margin for the line.
nscoord lineBottomMargin = 0;

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

@ -2822,9 +2822,6 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
}
nsSize maxElementSize;
lineLayout->VerticalAlignFrames(aLine->mBounds, maxElementSize);
if (addedBullet) {
lineLayout->RemoveBulletFrame(mBullet);
}
#ifdef DEBUG_kipp
NS_ASSERTION((aLine->mBounds.YMost()) < 200000 && (aLine->mBounds.y > -200000), "oy");
#endif
@ -2843,6 +2840,9 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
lineLayout->TrimTrailingWhiteSpace(aLine->mBounds);
lineLayout->HorizontalAlignFrames(aLine->mBounds, allowJustify);
lineLayout->RelativePositionFrames(aLine->mCombinedArea);
if (addedBullet) {
lineLayout->RemoveBulletFrame(mBullet);
}
// Calculate the bottom margin for the line.
nscoord lineBottomMargin = 0;

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

@ -2822,9 +2822,6 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
}
nsSize maxElementSize;
lineLayout->VerticalAlignFrames(aLine->mBounds, maxElementSize);
if (addedBullet) {
lineLayout->RemoveBulletFrame(mBullet);
}
#ifdef DEBUG_kipp
NS_ASSERTION((aLine->mBounds.YMost()) < 200000 && (aLine->mBounds.y > -200000), "oy");
#endif
@ -2843,6 +2840,9 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
lineLayout->TrimTrailingWhiteSpace(aLine->mBounds);
lineLayout->HorizontalAlignFrames(aLine->mBounds, allowJustify);
lineLayout->RelativePositionFrames(aLine->mCombinedArea);
if (addedBullet) {
lineLayout->RemoveBulletFrame(mBullet);
}
// Calculate the bottom margin for the line.
nscoord lineBottomMargin = 0;

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

@ -2822,9 +2822,6 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
}
nsSize maxElementSize;
lineLayout->VerticalAlignFrames(aLine->mBounds, maxElementSize);
if (addedBullet) {
lineLayout->RemoveBulletFrame(mBullet);
}
#ifdef DEBUG_kipp
NS_ASSERTION((aLine->mBounds.YMost()) < 200000 && (aLine->mBounds.y > -200000), "oy");
#endif
@ -2843,6 +2840,9 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
lineLayout->TrimTrailingWhiteSpace(aLine->mBounds);
lineLayout->HorizontalAlignFrames(aLine->mBounds, allowJustify);
lineLayout->RelativePositionFrames(aLine->mCombinedArea);
if (addedBullet) {
lineLayout->RemoveBulletFrame(mBullet);
}
// Calculate the bottom margin for the line.
nscoord lineBottomMargin = 0;

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

@ -2822,9 +2822,6 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
}
nsSize maxElementSize;
lineLayout->VerticalAlignFrames(aLine->mBounds, maxElementSize);
if (addedBullet) {
lineLayout->RemoveBulletFrame(mBullet);
}
#ifdef DEBUG_kipp
NS_ASSERTION((aLine->mBounds.YMost()) < 200000 && (aLine->mBounds.y > -200000), "oy");
#endif
@ -2843,6 +2840,9 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
lineLayout->TrimTrailingWhiteSpace(aLine->mBounds);
lineLayout->HorizontalAlignFrames(aLine->mBounds, allowJustify);
lineLayout->RelativePositionFrames(aLine->mCombinedArea);
if (addedBullet) {
lineLayout->RemoveBulletFrame(mBullet);
}
// Calculate the bottom margin for the line.
nscoord lineBottomMargin = 0;