зеркало из https://github.com/mozilla/gecko-dev.git
r=rods, sr==attinasi patch from simon montagu - hebrew comboboxes go haywire
This commit is contained in:
Родитель
e6b4535db9
Коммит
877964fad0
|
@ -1097,6 +1097,9 @@ nsListControlFrame::Reflow(nsIPresContext* aPresContext,
|
|||
bidiScrolledAreaWidth = aReflowState.mComputedWidth - scrollbarWidth + (6 * p2t);
|
||||
if (needsVerticalScrollbar) bidiScrolledAreaWidth -= scrollbarWidth;
|
||||
}
|
||||
|
||||
bidiScrolledAreaWidth -= (aReflowState.mComputedBorderPadding.left + aReflowState.mComputedBorderPadding.right);
|
||||
|
||||
firstPassState.mComputedWidth = bidiScrolledAreaWidth;
|
||||
firstPassState.availableWidth = bidiScrolledAreaWidth;
|
||||
nsScrollFrame::Reflow(aPresContext, aDesiredSize, firstPassState, aStatus);
|
||||
|
|
|
@ -1097,6 +1097,9 @@ nsListControlFrame::Reflow(nsIPresContext* aPresContext,
|
|||
bidiScrolledAreaWidth = aReflowState.mComputedWidth - scrollbarWidth + (6 * p2t);
|
||||
if (needsVerticalScrollbar) bidiScrolledAreaWidth -= scrollbarWidth;
|
||||
}
|
||||
|
||||
bidiScrolledAreaWidth -= (aReflowState.mComputedBorderPadding.left + aReflowState.mComputedBorderPadding.right);
|
||||
|
||||
firstPassState.mComputedWidth = bidiScrolledAreaWidth;
|
||||
firstPassState.availableWidth = bidiScrolledAreaWidth;
|
||||
nsScrollFrame::Reflow(aPresContext, aDesiredSize, firstPassState, aStatus);
|
||||
|
|
Загрузка…
Ссылка в новой задаче