зеркало из https://github.com/mozilla/pjs.git
Bug 292690. Don't expand block width to MEW, that makes no sense. r+sr=dbaron,a=shaver
This commit is contained in:
Родитель
479c91f243
Коммит
6498a3d1ea
|
@ -1252,11 +1252,6 @@ nsBlockFrame::ComputeFinalSize(const nsHTMLReflowState& aReflowState,
|
|||
// max-element-width values.
|
||||
maxElementWidth = aState.mMaxElementWidth +
|
||||
borderPadding.left + borderPadding.right;
|
||||
if (computedWidth < maxElementWidth) {
|
||||
// XXXldb It's *compute* max-element-width, not *change size
|
||||
// based on* max-element-width...
|
||||
computedWidth = maxElementWidth;
|
||||
}
|
||||
}
|
||||
|
||||
// Apply min/max values
|
||||
|
|
Загрузка…
Ссылка в новой задаче