mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
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:
parent
7f19c1bca6
commit
9a66c4091f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user