зеркало из https://github.com/mozilla/gecko-dev.git
Fixed a problem with mY not being updated properly for a bottom
margin
This commit is contained in:
Родитель
2f24fca2a7
Коммит
2e798d9c4f
|
@ -548,7 +548,7 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
|
|||
aState.mPrevMaxNegBottomMargin;
|
||||
if (0 != bottomMargin) {
|
||||
aLine->MoveLineBy(0, bottomMargin);
|
||||
aState.mY += topMargin;
|
||||
aState.mY += bottomMargin;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -548,7 +548,7 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
|
|||
aState.mPrevMaxNegBottomMargin;
|
||||
if (0 != bottomMargin) {
|
||||
aLine->MoveLineBy(0, bottomMargin);
|
||||
aState.mY += topMargin;
|
||||
aState.mY += bottomMargin;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -548,7 +548,7 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
|
|||
aState.mPrevMaxNegBottomMargin;
|
||||
if (0 != bottomMargin) {
|
||||
aLine->MoveLineBy(0, bottomMargin);
|
||||
aState.mY += topMargin;
|
||||
aState.mY += bottomMargin;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -548,7 +548,7 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
|
|||
aState.mPrevMaxNegBottomMargin;
|
||||
if (0 != bottomMargin) {
|
||||
aLine->MoveLineBy(0, bottomMargin);
|
||||
aState.mY += topMargin;
|
||||
aState.mY += bottomMargin;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -548,7 +548,7 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
|
|||
aState.mPrevMaxNegBottomMargin;
|
||||
if (0 != bottomMargin) {
|
||||
aLine->MoveLineBy(0, bottomMargin);
|
||||
aState.mY += topMargin;
|
||||
aState.mY += bottomMargin;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -548,7 +548,7 @@ nsBlockFrame::PlaceLine(nsBlockReflowState& aState,
|
|||
aState.mPrevMaxNegBottomMargin;
|
||||
if (0 != bottomMargin) {
|
||||
aLine->MoveLineBy(0, bottomMargin);
|
||||
aState.mY += topMargin;
|
||||
aState.mY += bottomMargin;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче