Fix for bug #1998. Now we render the background image over the padding area and not over the border area

This commit is contained in:
troy@netscape.com
1999-01-15 18:25:58 +00:00
parent f1ca5eae56
commit 217ab2bc29
24 changed files with 178 additions and 126 deletions

View File

@@ -122,7 +122,7 @@ NS_METHOD nsTableCellFrame::Paint(nsIPresContext& aPresContext,
nsRect rect(0, 0, mRect.width, mRect.height);
nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this,
aDirtyRect, rect, *myColor, 0, 0);
aDirtyRect, rect, *myColor, *mySpacing, 0, 0);
// empty cells do not render their border
PRBool renderBorder = PR_TRUE;