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
git-svn-id: svn://10.0.0.236/trunk@50705 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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) &&
|
||||
|
||||
Reference in New Issue
Block a user