[Checkin for alexsavulov] Improvement on patch for bug 93363. Fix for layout problem where shrinkwrapping of floats ignores padding. b=95511 r=dbaron sr=attinasi a=roc+moz

This commit is contained in:
attinasi@netscape.com
2001-08-28 00:35:08 +00:00
parent 089853fe84
commit c06f7e6d3b
2 changed files with 2 additions and 2 deletions

View File

@@ -4125,7 +4125,7 @@ nsBlockFrame::PostPlaceLine(nsBlockReflowState& aState,
// sequel of elements that can't be wrapped anymore (see patch for bug 80817)
// let them set xmost to be the width of the widest element of the reflowed line
// (patches bug 93363 and other NOWRAP dups)
xmost = aMaxElementSize.width;
xmost = aLine->mMaxElementWidth + aState.BorderPadding().left;
} else {
xmost = aLine->mBounds.XMost();
}