From 9a66c4091f55a84086e80ba839811ff9588c7f81 Mon Sep 17 00:00:00 2001 From: "dholbert@cs.stanford.edu" Date: Sun, 2 Dec 2007 21:30:02 -0800 Subject: [PATCH] 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 --- layout/generic/nsBlockFrame.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/layout/generic/nsBlockFrame.cpp b/layout/generic/nsBlockFrame.cpp index 0f857c9816cf..62d4ace824a4 100644 --- a/layout/generic/nsBlockFrame.cpp +++ b/layout/generic/nsBlockFrame.cpp @@ -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