Bug 405517: Allow margins to affect empty line y-pos, to enforce emptyLine.mBounds.y always == emptyLine.next().mBounds.y r+sr=roc, a=blocking1.9

This commit is contained in:
dholbert@cs.stanford.edu 2007-12-02 21:30:02 -08:00
parent 7f19c1bca6
commit 9a66c4091f

View File

@ -4028,7 +4028,6 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
nscoord dy = aState.GetFlag(BRS_APPLYTOPMARGIN)
? -aState.mPrevBottomMargin.get() : 0;
newY = aState.mY + dy;
aLine->SlideBy(dy); // XXXldb Do we really want to do this?
}
// See if the line fit. If it doesn't we need to push it. Our first