зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
7f19c1bca6
Коммит
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче