Part of bug 250269. Outline missing on some elements. r+sr=roc

git-svn-id: svn://10.0.0.236/trunk@165256 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
aaronleventhal%moonset.net 2004-11-11 15:21:52 +00:00
parent cb709f415a
commit 2c7eca3827
2 changed files with 16 additions and 0 deletions

View File

@ -222,6 +222,14 @@ NS_METHOD nsTableRowGroupFrame::Paint(nsPresContext* aPresContext,
PaintChildren(aPresContext, aRenderingContext, aDirtyRect,
aWhichLayer, aFlags);
// Paint outline
nsRect rect(0, 0, mRect.width, mRect.height);
const nsStyleOutline* outlineStyle = GetStyleOutline();
const nsStyleBorder* borderStyle = GetStyleBorder();
nsCSSRendering::PaintOutline(aPresContext, aRenderingContext, this,
aDirtyRect, rect, *borderStyle, *outlineStyle,
mStyleContext, 0);
return NS_OK;
}

View File

@ -222,6 +222,14 @@ NS_METHOD nsTableRowGroupFrame::Paint(nsPresContext* aPresContext,
PaintChildren(aPresContext, aRenderingContext, aDirtyRect,
aWhichLayer, aFlags);
// Paint outline
nsRect rect(0, 0, mRect.width, mRect.height);
const nsStyleOutline* outlineStyle = GetStyleOutline();
const nsStyleBorder* borderStyle = GetStyleBorder();
nsCSSRendering::PaintOutline(aPresContext, aRenderingContext, this,
aDirtyRect, rect, *borderStyle, *outlineStyle,
mStyleContext, 0);
return NS_OK;
}