Changed nsCSSRendering::PaintBorder() so the entire rect is used
and not just the width and height
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user