backed out fix for bug 6674 because it broke resizing collapsing rows

This commit is contained in:
karnaze@netscape.com
1999-08-30 22:00:12 +00:00
parent e1cf1043b9
commit 573de9de7f
2 changed files with 8 additions and 4 deletions

View File

@@ -248,10 +248,12 @@ NS_METHOD nsTableCellFrame::Paint(nsIPresContext& aPresContext,
if ((0 != offset.x) || (0 != offset.y)) {
aRenderingContext.Translate(offset.x, offset.y);
}
if (NS_STYLE_OVERFLOW_HIDDEN == disp->mOverflow) {
// Bug 6674 is fixed by uncommenting the following if statement, but sample 4 resizing
// of the collapsed table rows then paints incorrectly
//if (NS_STYLE_OVERFLOW_HIDDEN == disp->mOverflow) {
aRenderingContext.SetClipRect(nsRect(-offset.x, -offset.y, mRect.width, mRect.height),
nsClipCombine_kIntersect, clipState);
}
//}
PaintChildren(aPresContext, aRenderingContext, aDirtyRect, aWhichLayer);
aRenderingContext.PopState(clipState);