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:
@@ -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