зеркало из https://github.com/mozilla/gecko-dev.git
Remove discontinuity at height of 0. b=220266 r+sr=bzbarsky
This commit is contained in:
Родитель
c1ddc1f1c6
Коммит
0735da9e66
|
@ -826,13 +826,6 @@ nsBoxFrame::Reflow(nsIPresContext* aPresContext,
|
|||
m = aReflowState.mComputedBorderPadding;
|
||||
// GetBorderAndPadding(m);
|
||||
|
||||
// this happens sometimes. So lets handle it gracefully.
|
||||
if (aReflowState.mComputedHeight == 0) {
|
||||
nsSize minSize(0,0);
|
||||
GetMinSize(state, minSize);
|
||||
computedSize.height = minSize.height - m.top - m.bottom;
|
||||
}
|
||||
|
||||
nsSize prefSize(0,0);
|
||||
|
||||
// if we are told to layout intrinic then get our preferred size.
|
||||
|
|
Загрузка…
Ссылка в новой задаче