Translate trapezoid into proper coordinate system

git-svn-id: svn://10.0.0.236/trunk@25290 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1999-03-27 01:20:46 +00:00
parent ec12bbacef
commit b7d7f14850
2 changed files with 4 additions and 20 deletions

View File

@@ -285,21 +285,13 @@ nsBlockBandData::ClearFloaters(nscoord aY, PRUint8 aBreakType)
for (fn = 0; fn < numFrames; fn++) {
nsIFrame* frame = (nsIFrame*) trapezoid->frames->ElementAt(fn);
if (ShouldClearFrame(frame, aBreakType)) {
#if 0
nscoord ym = GetFrameYMost(frame);
#else
nscoord ym = trapezoid->yBottom;
#endif
nscoord ym = trapezoid->yBottom + mSpaceManagerY;
if (ym > yMost) yMost = ym;
}
}
}
else if (ShouldClearFrame(trapezoid->frame, aBreakType)) {
#if 0
nscoord ym = GetFrameYMost(trapezoid->frame);
#else
nscoord ym = trapezoid->yBottom;
#endif
nscoord ym = trapezoid->yBottom + mSpaceManagerY;
if (ym > yMost) yMost = ym;
}
}