Fixed edge case where line bounds wasn't quite accurate which causes the combined rect to not match which now wastes memory; only affects right aligned lines

This commit is contained in:
kipp@netscape.com
1999-10-14 23:10:59 +00:00
parent ad62fe2e34
commit c6262cab66
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2203,7 +2203,7 @@ nsLineLayout::HorizontalAlignFrames(nsRect& aLineBounds, PRBool aAllowJustify)
pfd->mFrame->SetRect(pfd->mBounds);
pfd = pfd->mNext;
}
// aLineBounds.width += dx;
aLineBounds.width += dx;
}
if ((NS_STYLE_DIRECTION_RTL == psd->mDirection) &&