Compute combined area properly

This commit is contained in:
kipp%netscape.com 1998-11-26 18:11:23 +00:00
parent 5b4b437bb3
commit dd21432b23

View File

@ -1033,7 +1033,8 @@ nsInlineReflow::HorizontalAlignFrames(nsRect& aLineBox, PRBool aIsLastLine)
void
nsInlineReflow::RelativePositionFrames(nsRect& aCombinedArea)
{
nscoord x0 = 0, y0 = 0, x1 = 0, y1 = 0;
nscoord x0 = mLeftEdge, y0 = mTopEdge;
nscoord x1 = x0, y1 = y0;
nsPoint origin;
PerFrameData* pfd = mFrameDataBase;
PerFrameData* end = pfd + mFrameNum;