Changed nsCSSRendering::PaintBorder() so the entire rect is used

and not just the width and height
This commit is contained in:
troy@netscape.com
1998-07-22 02:46:00 +00:00
parent 3706c696f6
commit 2f1442d674
15 changed files with 58 additions and 23 deletions

View File

@@ -69,7 +69,8 @@ NS_METHOD nsHTMLContainerFrame::Paint(nsIPresContext& aPresContext,
nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this,
aDirtyRect, mRect, *color);
nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this,
aDirtyRect, mRect, *spacing, skipSides);
aDirtyRect, nsRect(0, 0, mRect.width, mRect.height),
*spacing, skipSides);
}
PaintChildren(aPresContext, aRenderingContext, aDirtyRect);